/* ============================================================
   British Assignment Centre — Main Stylesheet
   Author: Maijitech Projects
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #1a3a6b;
  /* Deep Royal Blue  */
  --primary-dark: #122850;
  --primary-light: #2753a0;
  --accent: #c8960c;
  /* Academic Gold    */
  --accent-light: #e8b420;
  --secondary: #e8f0fe;
  /* Soft Blue Tint   */
  --success: #198754;
  --text-dark: #0f1e3d;
  --text-body: #3a4a6b;
  --text-muted: #6c7a9c;
  --bg-light: #f8f9fc;
  --bg-white: #ffffff;
  --border: #d9e2f3;
  --shadow-sm: 0 2px 12px rgba(26, 58, 107, .08);
  --shadow-md: 0 6px 28px rgba(26, 58, 107, .14);
  --shadow-lg: 0 16px 56px rgba(26, 58, 107, .18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.32s cubic-bezier(.4, 0, .2, 1);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: white;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Preloader ---- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
  color: #fff;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, .2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .85s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Scroll-to-top ---- */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 888;
}

#scrollTop.visible {
  opacity: 1;
  visibility: visible;
}

#scrollTop:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar-bac {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar-bac .navbar-brand {
  padding: 12px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.brand-logo .logo-text {
  line-height: 1.15;
}

.brand-logo .logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.brand-logo .logo-text .tagline {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: block;
}

.navbar-bac .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: .88rem;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-bac .nav-link:hover,
.navbar-bac .nav-link.active {
  color: var(--primary) !important;
  background: var(--secondary);
}

.navbar-bac .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 220px;
}

.navbar-bac .dropdown-item {
  border-radius: var(--radius-sm);
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 14px;
  transition: var(--transition);
}

.navbar-bac .dropdown-item:hover {
  background: var(--secondary);
  color: var(--primary);
}

.navbar-bac .dropdown-item i {
  width: 18px;
  color: var(--accent);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  margin-left: 6px;
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
  color: white;
}

/* Top bar */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .85);
  font-size: .78rem;
  padding: 7px 0;
}

.top-bar a {
  color: white;
}

.top-bar a:hover {
  color: white;
}

.top-bar .top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar .top-bar-item i {
  color: white
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 150, 12, .18);
  border: 1px solid rgba(200, 150, 12, .35);
  color: var(--accent-light);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--accent-light);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-light);
  display: block;
}

.hero-stat .lbl {
  font-size: .75rem;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--accent);
  color: var(--text-dark) !important;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 6px 24px rgba(200, 150, 12, .45);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-hero-primary:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(200, 150, 12, .5);
  color: var(--text-dark) !important;
}

.btn-hero-outline {
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 30px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, .45);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  transform: translateY(-3px);
  color: #fff !important;
}

/* Hero visual card */
.hero-card {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-card-title i {
  color: var(--accent);
}

.hero-service-list {
  list-style: none;
}

.hero-service-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}

.hero-service-list li:last-child {
  border-bottom: none;
}

.hero-service-list li i {
  color: var(--accent-light);
  width: 20px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.trust-badge {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .74rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

.trust-badge i {
  color: var(--accent-light);
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.bg-soft {
  background: var(--bg-light);
}

.bg-primary-soft {
  background: var(--secondary);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.section-label i {
  color: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title .accent {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-divider {
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin: 18px 0 32px;
}

.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 62px;
  height: 62px;
  background: var(--secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}

.service-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: .87rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.step-card {
  text-align: center;
  padding: 36px 24px;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(26, 58, 107, .3);
  position: relative;
  z-index: 1;
}

.step-connector {
  position: absolute;
  top: 68px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--border) 0%, var(--primary-light) 50%, var(--border) 100%);
  z-index: 0;
}

.step-icon-bg {
  width: 56px;
  height: 56px;
  background: var(--secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0 auto 16px;
}

.step-card h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: .88rem;
  color: var(--text-muted);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

.feature-item h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: .87rem;
  color: var(--text-muted);
  margin: 0;
}

.why-choose-visual {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-choose-visual::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, .06);
  border-radius: 50%;
}

.why-choose-visual::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 240px;
  height: 240px;
  background: rgba(200, 150, 12, .1);
  border-radius: 50%;
}

.why-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
  line-height: 1;
}

.why-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.why-stat-box {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
}

/* ============================================================
   SUBJECTS
   ============================================================ */
.subject-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--text-body);
  margin: 5px;
  transition: var(--transition);
  cursor: pointer;
}

.subject-pill:hover,
.subject-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.subject-pill i {
  color: var(--accent);
  font-size: .85rem;
}

.subject-pill:hover i,
.subject-pill.active i {
  color: var(--accent-light);
}

.subject-category-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  transition: var(--transition);
}

.subject-category-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.subject-cat-icon {
  width: 52px;
  height: 52px;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.subject-category-card h5 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.subject-list {
  list-style: none;
}

.subject-list li {
  font-size: .86rem;
  color: var(--text-muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.subject-list li i {
  color: var(--accent);
  font-size: .75rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.testimonial-card p {
  font-size: .93rem;
  color: var(--text-body);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info .name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-dark);
}

.author-info .univ {
  font-size: .78rem;
  color: var(--text-muted);
}

.rating-stars {
  color: var(--accent);
  font-size: .85rem;
  margin-bottom: 14px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  border-color: transparent;
  color: #fff;
}

.pricing-card:not(.featured):hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--text-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.pricing-level {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-level {
  color: var(--accent-light);
}

.pricing-price {
  margin-bottom: 20px;
}

.pricing-price .from {
  font-size: .8rem;
  color: var(--text-muted);
}

.pricing-card.featured .pricing-price .from {
  color: rgba(255, 255, 255, .65);
}

.pricing-price .amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-card.featured .pricing-price .amount {
  color: #fff;
}

.pricing-price .per {
  font-size: .82rem;
  color: var(--text-muted);
}

.pricing-card.featured .pricing-price .per {
  color: rgba(255, 255, 255, .65);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pricing-card.featured .pricing-divider {
  background: rgba(255, 255, 255, .15);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  padding: 7px 0;
  color: var(--text-body);
}

.pricing-card.featured .pricing-features li {
  color: rgba(255, 255, 255, .88);
}

.pricing-features li i {
  color: var(--success);
  margin-top: 3px;
}

.pricing-card.featured .pricing-features li i {
  color: var(--accent-light);
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, .35);
  position: relative;
  overflow: hidden;
}

.blog-card-img .blog-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, .25);
}

.blog-cat-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--text-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  font-size: .78rem;
  color: var(--text-muted);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-body h5 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: .87rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: .87rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-read-more:hover {
  color: var(--accent);
  gap: 10px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--primary-light));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 36px;
}

.btn-cta-gold {
  background: var(--accent);
  color: var(--text-dark) !important;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 1rem;
  box-shadow: 0 6px 24px rgba(200, 150, 12, .4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-cta-gold:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(200, 150, 12, .5);
}

.btn-cta-outline {
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, .4);
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 12px;
}

.btn-cta-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
  transform: translateY(-3px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .8);
  padding: 70px 0 36px;
}

.footer-brand .logo-text .name {
  color: #fff;
  font-size: 1.15rem;
}

.footer-brand .logo-text .tagline {
  color: var(--accent-light);
}

.footer-about {
  font-size: .88rem;
  color: rgba(255, 255, 255, .7);
  margin: 16px 0 20px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-heading {
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  font-size: .87rem;
  color: rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.footer-links a i {
  font-size: .7rem;
  color: var(--accent);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .87rem;
  color: rgba(255, 255, 255, .7);
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
  min-width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0 0;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, .55);
}

.footer-bottom-links a:hover {
  color: var(--accent-light);
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--bg-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-soft {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.05rem;
}

.breadcrumb-bac {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.breadcrumb-bac span {
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

.breadcrumb-bac a {
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
}

.breadcrumb-bac a:hover {
  color: var(--accent-light);
}

.breadcrumb-bac .separator {
  color: rgba(255, 255, 255, .4);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-img-wrap {
  position: relative;
}

.about-img-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
}

.about-img-card .big-icon {
  font-size: 5rem;
  color: rgba(255, 255, 255, .25);
  margin-bottom: 16px;
}

.about-stat-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-stat-badge .num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-stat-badge .lbl {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mission-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mission-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, .5);
  margin: 0 auto 16px;
}

.team-card h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.team-card .degree {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.service-detail-overview {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
}

.service-feature-list {
  list-style: none;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
}

.service-feature-list li:last-child {
  border-bottom: none;
}

.service-feature-list li i {
  color: var(--success);
  font-size: 1rem;
  margin-top: 3px;
}

.process-step-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.process-step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.process-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 24px;
}

.sidebar-card h5 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.order-btn-main {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  width: 100%;
  border: none;
  text-align: center;
  transition: var(--transition);
  display: block;
  margin-bottom: 10px;
}

.order-btn-main:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.order-btn-secondary {
  background: var(--accent);
  color: var(--text-dark) !important;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  width: 100%;
  border: none;
  text-align: center;
  transition: var(--transition);
  display: block;
}

.order-btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--accent-light);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: .93rem;
  color: var(--text-dark);
  background: var(--bg-white);
  padding: 18px 22px;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--secondary);
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  filter: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: hue-rotate(200deg) saturate(2);
}

.faq-accordion .accordion-body {
  font-size: .9rem;
  color: var(--text-muted);
  padding: 16px 22px 20px;
  line-height: 1.75;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0 auto 16px;
}

.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
}

.form-control-bac {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .93rem;
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-control-bac:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, .1);
  outline: none;
}

.form-label-bac {
  font-size: .87rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.btn-submit {
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-submit:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   UTILITIES & ANIMATIONS
   ============================================================ */
.btn-primary-bac {
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  border: none;
  font-size: .9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-bac:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-bac {
  background: transparent;
  color: var(--primary) !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 9px 22px;
  border: 2px solid var(--primary);
  font-size: .9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-bac:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--accent);
  color: var(--text-dark) !important;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  border: none;
  font-size: .9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Fade-in animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Divider glow */
.divider-glow {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  margin: 0;
}

/* Highlighted badge */
.highlight-badge {
  background: var(--secondary);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 8px;
}

/* Stats strip */
.stats-strip {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  padding: 36px 0;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
  line-height: 1;
}

.stat-item .lbl {
  font-size: .8rem;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 4px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, .15);
  margin: auto;
}

/* Guarantee strip */
.guarantee-strip {
  background: var(--secondary);
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}

.guarantee-item i {
  color: var(--accent);
  font-size: 1rem;
}

/* Subject tab */
.subject-tabs .nav-link {
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  margin: 3px;
  font-size: .85rem;
  font-weight: 600;
  padding: 7px 18px !important;
  transition: var(--transition);
}

.subject-tabs .nav-link.active,
.subject-tabs .nav-link:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-section {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .hero-stats {
    gap: 20px;
  }

  .step-connector {
    display: none;
  }

  .about-stat-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 16px;
    display: inline-block;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .stats-strip .col-md-3 {
    margin-bottom: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .cta-section .d-flex {
    flex-direction: column;
    gap: 12px;
  }

  .btn-cta-outline {
    margin-left: 0;
  }

  .top-bar .d-flex {
    flex-wrap: wrap;
    gap: 8px;
  }

  .top-bar .ms-auto {
    margin: 0 !important;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .section-pad {
    padding: 60px 0;
  }

  .hero-section {
    padding: 60px 0 50px;
  }

  .hero-title {
    font-size: 1.85rem;
  }
}