/* ==========================================================================
   DEMO IELTS — PREMIUM PORTFOLIO STYLES
   ========================================================================== */

:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #3730a3;
  --secondary: #2563eb;
  --accent: #9333ea;
  --accent-light: #a855f7;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --light: #f8fafc;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
  --gradient-soft: linear-gradient(135deg, rgba(79, 70, 229, 0.07), rgba(147, 51, 234, 0.07));
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 56px rgba(79, 70, 229, 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark);
  font-weight: 700;
}

a { text-decoration: none; }

img { display: block; max-width: 100%; }

.section-padding { padding: 110px 0; }
.bg-soft { background: linear-gradient(180deg, #f8f9ff 0%, #f4f1ff 100%); }

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: var(--gradient-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.tag-light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--gray-500);
  max-width: 640px;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
#preloader.loaded { transform: translateY(-100%); }
.preloader-content { display: flex; align-items: center; }
.typewriter-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: 0.08em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.typewriter-cursor {
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--primary);
  margin-left: 2px;
  animation: blinkCursor 0.8s step-end infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-premium-primary {
  background: var(--gradient-primary);
  background-size: 200% auto;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 30px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.btn-premium-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.36);
  color: #fff;
}

.btn-premium-outline {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #e0e0fb;
  border-radius: 50px;
  padding: 13px 30px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-premium-outline:hover {
  border-color: var(--primary);
  background: var(--gradient-soft);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-enroll {
  background: #fff;
  color: var(--primary-dark);
  border: none;
  border-radius: 50px;
  padding: 15px 34px;
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-enroll:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  color: var(--primary-dark);
}

.btn-ripple { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(2.6); opacity: 0; }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.premium-navbar {
  padding: 20px 0;
  background: transparent;
  transition: all 0.4s ease;
}
.premium-navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.brand-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.08rem; color: var(--dark); }
.brand-sub { font-size: 0.72rem; color: var(--primary); font-weight: 600; letter-spacing: 0.04em; }

.nav-center { gap: 6px; }
.nav-center .nav-link {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 16px !important;
  border-radius: 50px;
  transition: all 0.25s ease;
}
.nav-center .nav-link:hover { background: var(--gradient-soft); color: var(--primary); }

.navbar-toggler { border: none; background: var(--gradient-soft); border-radius: 10px; padding: 8px 12px; color: var(--primary); }
.navbar-toggler:focus { box-shadow: none; }

.premium-offcanvas .offcanvas-body .nav-link {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-100);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 170px 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: 0;
}
.hero-blob-1 {
  width: 480px; height: 480px;
  background: var(--gradient-primary);
  top: -160px; right: -160px;
}
.hero-blob-2 {
  width: 380px; height: 380px;
  background: linear-gradient(135deg, #2563eb, #9333ea);
  bottom: -140px; left: -140px;
  opacity: 0.22;
}

.hero-section .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--gray-500);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-stats { max-width: 540px; }
.stat-mini {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-mini h3 { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 2px; }
.stat-mini p { font-size: 0.78rem; color: var(--gray-500); margin: 0; font-weight: 600; }

.hero-image-wrap { position: relative; max-width: 480px; margin: 0 auto; }
.hero-image-frame {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  position: relative;
}
.hero-image { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  animation: floatUpDown 4s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 0.92rem; color: var(--dark); font-family: 'Plus Jakarta Sans', sans-serif; }
.floating-card span { font-size: 0.72rem; color: var(--gray-500); font-weight: 600; }
.fc-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.card-float-1 { top: 6%; left: -8%; animation-delay: 0s; }
.card-float-2 { bottom: 18%; right: -10%; animation-delay: 1.2s; }
.card-float-3 { bottom: -4%; left: 12%; animation-delay: 2s; }

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-image-wrap { position: relative; max-width: 420px; margin: 0 auto; }
.about-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border: 6px solid #fff;
}
.about-decor {
  position: absolute;
  border-radius: var(--radius-lg);
  z-index: 0;
}
.about-decor-1 {
  width: 100%; height: 100%;
  top: -22px; left: -22px;
  background: var(--gradient-primary);
  opacity: 0.16;
}
.about-decor-2 {
  width: 130px; height: 130px;
  bottom: -26px; right: -26px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.18;
}

.about-bio { font-size: 1.02rem; color: var(--gray-500); margin-bottom: 16px; line-height: 1.75; }

.achieve-card {
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  text-align: center;
}
.achieve-card h4 { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 2px; }
.achieve-card p { font-size: 0.78rem; color: var(--gray-500); margin: 0; font-weight: 600; }

.premium-timeline { position: relative; margin-top: 38px; padding-left: 8px; }
.timeline-item {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 30px;
  padding-left: 8px;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: -6px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light), var(--gray-100));
}
.timeline-dot {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.28);
  position: relative;
  z-index: 1;
}
.timeline-year { font-size: 0.78rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
.timeline-content h5 { font-size: 1.08rem; margin: 4px 0 4px; }
.timeline-content p { color: var(--gray-500); font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   RESULTS / TESTIMONIALS
   ========================================================================== */
.result-stat {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.result-stat h3 { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.result-stat p { color: var(--gray-500); font-weight: 600; margin: 0; }

.testimonial-slider-wrap { position: relative; padding: 0 56px; }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.t-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 14px; }
.t-review { color: var(--gray-700); font-size: 0.96rem; line-height: 1.7; min-height: 110px; }
.t-profile { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gray-100); }
.t-profile img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.t-profile strong { display: block; font-size: 0.94rem; color: var(--dark); }
.t-profile span { font-size: 0.78rem; color: var(--primary); font-weight: 700; }

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
  z-index: 2;
}
.testimonial-arrow:hover { background: var(--gradient-primary); color: #fff; }
.arrow-prev { left: 0; }
.arrow-next { right: 0; }

.testimonial-dots {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
}

/* Higher specificity than Bootstrap's ".carousel-indicators [data-bs-target]"
   so our sizing/color actually wins instead of being silently overridden. */
.testimonial-dots button[data-bs-target] {
  box-sizing: border-box;
  width: 6px;
  height: 6px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50px;
  background-color: var(--gray-300);
  background-clip: padding-box;
  opacity: 1;
  cursor: pointer;
  text-indent: 0;
  transition: all 0.3s ease;
}

.testimonial-dots button[data-bs-target].active {
  width: 18px;
  background-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}

/* ==========================================================================
   COURSE OFFER
   ========================================================================== */
.offer-section { padding-top: 30px; }
.offer-card {
  position: relative;
  background: var(--gradient-primary);
  border-radius: 32px;
  padding: 56px;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.offer-card::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -140px; right: -100px;
}
.offer-card::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  bottom: -100px; left: -60px;
}
.offer-card > .row { position: relative; z-index: 1; }

.offer-badge-ribbon {
  position: absolute;
  top: 28px; right: -52px;
  background: #fbbf24;
  color: #78350f;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 9px 60px;
  transform: rotate(45deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.offer-title { font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: #fff; font-weight: 800; margin-bottom: 14px; }
.offer-duration { font-size: 1rem; opacity: 0.9; font-weight: 600; margin-bottom: 22px; }

.offer-price { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.price-old { font-size: 1.4rem; text-decoration: line-through; opacity: 0.6; font-weight: 600; }
.price-new { font-size: 2.8rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; }

.offer-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.offer-features li { font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.offer-features i { color: #4ade80; }

.countdown-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  backdrop-filter: blur(10px);
  text-align: center;
}
.countdown-label { font-weight: 700; margin-bottom: 18px; font-size: 1.02rem; }
.countdown-timer { display: flex; gap: 10px; justify-content: center; }
.cd-unit {
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  min-width: 64px;
}
.cd-unit span { display: block; font-size: 1.6rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; }
.cd-unit small { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.85; }
.countdown-note { margin: 22px 0 0; font-size: 0.86rem; opacity: 0.85; }

/* ==========================================================================
   CALCULATOR
   ========================================================================== */
.calculator-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.calc-label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dark); margin-bottom: 8px; font-size: 0.9rem; }
.calc-input {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-100);
  padding: 12px 16px;
  font-weight: 600;
}
.calc-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }

.calc-result {
  margin-top: 32px;
  text-align: center;
  background: var(--gradient-soft);
  border-radius: var(--radius-md);
  padding: 32px;
  animation: fadeInUp 0.5s ease;
}
.calc-result-label { font-weight: 700; color: var(--gray-500); margin-bottom: 6px; }
.calc-result h2 { font-size: 3.2rem; color: var(--primary); font-weight: 800; margin-bottom: 6px; }
.calc-result-text { color: var(--gray-700); font-weight: 600; margin: 0; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FEATURE CARDS (WHY CHOOSE ME)
   ========================================================================== */
.feature-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  height: 100%;
  transition: all 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--gradient-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all 0.35s ease;
}
.feature-card:hover .feature-icon { background: var(--gradient-primary); color: #fff; }
.feature-card h4 { font-size: 1.12rem; margin-bottom: 10px; }
.feature-card p { color: var(--gray-500); font-size: 0.94rem; margin: 0; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  height: 100%;
  transition: all 0.35s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.08); }
.blog-category {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.blog-body { padding: 24px; }
.blog-body h5 { font-size: 1.08rem; line-height: 1.4; margin-bottom: 10px; }
.blog-body p { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 16px; }
.blog-read-more { color: var(--primary); font-weight: 700; font-size: 0.9rem; transition: all 0.25s ease; }
.blog-read-more:hover { color: var(--primary-dark); padding-left: 6px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.premium-accordion .accordion-item {
  border: none;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.premium-accordion .accordion-button {
  font-weight: 700;
  color: var(--dark);
  padding: 20px 24px;
  background: #fff;
}
.premium-accordion .accordion-button:not(.collapsed) {
  background: var(--gradient-soft);
  color: var(--primary-dark);
  box-shadow: none;
}
.premium-accordion .accordion-button:focus { box-shadow: none; }
.premium-accordion .accordion-button::after { flex-shrink: 0; }
.premium-accordion .accordion-body { padding: 4px 24px 24px; color: var(--gray-500); line-height: 1.7; }

/* ==========================================================================
   CONTACT / INQUIRY FORM
   ========================================================================== */
.inquiry-form-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.premium-input {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-100);
  padding: 12px 16px;
  font-weight: 500;
}
.premium-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }
.form-label { font-weight: 700; color: var(--dark); font-size: 0.88rem; margin-bottom: 6px; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

.why-contact-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #fff;
  height: 100%;
  box-shadow: var(--shadow-lg);
}
.why-contact-card h4 { color: #fff; font-size: 1.4rem; margin-bottom: 24px; }
.why-contact-list { list-style: none; padding: 0; margin: 0 0 36px; }
.why-contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.why-contact-list i { color: #4ade80; }
.why-contact-quote { background: rgba(255, 255, 255, 0.12); border-radius: var(--radius-md); padding: 24px; }
.why-contact-quote i { opacity: 0.5; margin-bottom: 10px; display: block; }
.why-contact-quote p { font-style: italic; line-height: 1.6; margin-bottom: 10px; }
.why-contact-quote span { font-weight: 700; font-size: 0.88rem; opacity: 0.9; }

/* ==========================================================================
   CONTACT INFO CARDS
   ========================================================================== */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  height: 100%;
  transition: all 0.35s ease;
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cic-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-info-card h5 { font-size: 1rem; margin-bottom: 6px; }
.contact-info-card p { color: var(--gray-500); margin: 0; font-size: 0.92rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.premium-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 80px 0 26px;
}
.premium-footer .brand-name { color: #fff; }
.footer-logo { margin-bottom: 18px; }
.footer-desc { color: #94a3b8; font-size: 0.92rem; line-height: 1.7; max-width: 320px; }
.footer-socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.footer-socials a:hover { background: var(--gradient-primary); transform: translateY(-3px); }

.footer-heading { color: #fff; font-size: 1rem; margin-bottom: 22px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; color: #94a3b8; font-size: 0.92rem; }
.footer-links a { color: #94a3b8; transition: all 0.25s ease; }
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-divider { border-color: rgba(255, 255, 255, 0.1); margin: 50px 0 26px; }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.86rem; color: #94a3b8; margin: 0; }

/* ==========================================================================
   BLOG DETAILS PAGE
   ========================================================================== */
.post-hero {
  position: relative;
  padding: 160px 0 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
}
.post-hero .container { position: relative; z-index: 1; }

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 26px;
  font-size: 0.92rem;
  transition: gap 0.25s ease;
}
.back-to-blog:hover { color: var(--primary-dark); gap: 12px; }

.post-category-badge { display: inline-block; margin-bottom: 0; }

.post-title {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  color: var(--gray-500);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 32px;
}
.post-meta-author { display: flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 700; }
.post-meta-author img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }

.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.post-featured-image img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }

.article-content { font-size: 1.05rem; line-height: 1.85; color: var(--gray-700); }
.article-content h3 { font-size: 1.32rem; margin: 36px 0 14px; }
.article-content p { margin-bottom: 20px; }
.article-content ul { margin-bottom: 20px; padding-left: 22px; }
.article-content ul li { margin-bottom: 10px; }
.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--gradient-soft);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--dark);
  margin: 28px 0;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h5 { font-size: 1.05rem; margin-bottom: 18px; }

.author-card { text-align: center; }
.author-card img {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
}
.author-card h6 { font-size: 1rem; margin-bottom: 4px; }
.author-card p { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 0; }

.recent-post-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.recent-post-item a { font-size: 0.86rem; font-weight: 700; color: var(--dark); line-height: 1.4; }
.recent-post-item a:hover { color: var(--primary); }
.recent-post-item span { font-size: 0.74rem; color: var(--gray-500); font-weight: 600; }

.sidebar-cta { background: var(--gradient-primary); color: #fff; text-align: center; }
.sidebar-cta h5 { color: #fff; }
.sidebar-cta p { color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; margin-bottom: 18px; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal[data-reveal="left"] { transform: translateX(-36px); }
.reveal[data-reveal="right"] { transform: translateX(36px); }
.reveal.revealed { opacity: 1; transform: translate(0, 0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ---- Tablets (<= 991.98px) ---- */
@media (max-width: 991.98px) {
  .section-padding { padding: 70px 0; }
  .hero-section { padding: 140px 0 70px; }
  .offer-card { padding: 36px 26px; }
  .offer-features { grid-template-columns: 1fr; }
  .inquiry-form-card, .calculator-card, .why-contact-card { padding: 32px 26px; }
  .floating-card { position: static; margin-top: 14px; animation: none; display: inline-flex; }
  .hero-image-wrap { display: flex; flex-direction: column; gap: 10px; }
  .testimonial-slider-wrap { padding: 0; }
  #testimonialSlider { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
  #testimonialSlider .carousel-inner { width: 100%; order: 1; }
  .testimonial-arrow { position: static; transform: none; box-shadow: var(--shadow-sm); flex-shrink: 0; }
  .arrow-prev { order: 2; margin-top: 28px; }
  .arrow-next { order: 4; margin-top: 28px; }
  .testimonial-dots { order: 3; margin: 28px 18px 0; }
  .premium-footer { padding: 64px 0 24px; }
}

/* ---- Large phones / small tablets (<= 767.98px) ---- */
@media (max-width: 767.98px) {
  .hero-title { font-size: 2.05rem; line-height: 1.22; }
  .section-title { font-size: 1.8rem; }
  .offer-title, .post-title { font-size: 1.85rem; }
  .hero-subtitle, .section-subtitle { font-size: 0.98rem; }
  .stat-mini h3 { font-size: 1.25rem; }
  .stat-mini p { font-size: 0.72rem; }
  .achieve-card h4 { font-size: 1.25rem; }
  .result-stat h3 { font-size: 1.8rem; }
  .price-new { font-size: 2.2rem; }
  .price-old { font-size: 1.15rem; }
  .calc-result h2 { font-size: 2.3rem; }
  .btn-premium-primary, .btn-premium-outline { padding: 11px 22px; font-size: 0.88rem; }
  .btn-enroll { padding: 13px 26px; font-size: 0.92rem; }
  .logo-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 12px; }
  .brand-name { font-size: 0.98rem; }
  .brand-sub { font-size: 0.66rem; }
  .feature-card, .testimonial-card { padding: 26px 20px; }
  .blog-body { padding: 18px; }
  .premium-accordion .accordion-button { padding: 16px 18px; font-size: 0.94rem; }
  .premium-accordion .accordion-body { padding: 2px 18px 18px; font-size: 0.9rem; }
  .contact-info-card { padding: 22px 16px; }
  .timeline-dot { width: 42px; height: 42px; font-size: 0.95rem; }
  .timeline-item:not(:last-child)::before { left: 20px; top: 44px; }
  .post-meta { gap: 14px; font-size: 0.85rem; }
}

/* ---- Phones (<= 575.98px) ---- */
@media (max-width: 575.98px) {
  .section-padding { padding: 56px 0; }
  .hero-section { padding: 120px 0 50px; }
  .hero-title { font-size: 1.75rem; line-height: 1.26; }
  .section-title { font-size: 1.5rem; }
  .offer-title, .post-title { font-size: 1.5rem; }
  .hero-badge { font-size: 0.78rem; padding: 7px 14px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .stat-mini h3 { font-size: 1.1rem; }
  .stat-mini p { font-size: 0.68rem; }
  .offer-badge-ribbon { top: 18px; right: -62px; font-size: 0.82rem; padding: 7px 60px; }
  .cd-unit { min-width: 54px; padding: 10px 6px; }
  .cd-unit span { font-size: 1.25rem; }
  .why-contact-card, .inquiry-form-card, .calculator-card { padding: 24px 18px; }
  .offer-card { padding: 28px 18px; }
  .price-new { font-size: 1.9rem; }
  .price-old { font-size: 1.05rem; }
  .calc-result h2 { font-size: 2rem; }
  .feature-icon, .cic-icon { width: 48px; height: 48px; font-size: 1.1rem; }
  .contact-info-card h5 { font-size: 0.92rem; }
  .contact-info-card p { font-size: 0.84rem; }
  .testimonial-card { padding: 22px 18px; }
  .t-review { font-size: 0.9rem; min-height: auto; }
  .timeline-dot { width: 38px; height: 38px; font-size: 0.85rem; }
  .timeline-item:not(:last-child)::before { left: 18px; top: 40px; }
  .timeline-content h5 { font-size: 1rem; }
  .premium-footer { padding: 50px 0 20px; }
  .footer-heading { font-size: 0.94rem; margin-bottom: 16px; }
  .btn-premium-primary, .btn-premium-outline, .btn-enroll { padding: 12px 20px; font-size: 0.88rem; }
  .post-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .post-featured-image img { aspect-ratio: 4/3; }
}

/* ---- Small phones (<= 420px) ---- */
@media (max-width: 420px) {
  .hero-title { font-size: 1.5rem; }
  .section-title { font-size: 1.3rem; }
  .offer-title, .post-title { font-size: 1.3rem; }
  .section-tag { font-size: 0.7rem; padding: 5px 14px; }
  .section-subtitle, .hero-subtitle { font-size: 0.88rem; }
  .stat-mini h3, .achieve-card h4 { font-size: 1rem; }
  .price-new { font-size: 1.6rem; }
  .offer-features li { font-size: 0.86rem; }
  .calc-input { padding: 10px 12px; font-size: 0.88rem; }
  .calc-label { font-size: 0.8rem; }
  .brand-name { font-size: 0.92rem; }
  .brand-sub { display: none; }
  .logo-icon { width: 34px; height: 34px; font-size: 0.9rem; border-radius: 10px; }
  .cd-unit { min-width: 46px; padding: 8px 4px; }
  .cd-unit span { font-size: 1.05rem; }
  .cd-unit small { font-size: 0.58rem; }
  .timeline-content p { font-size: 0.86rem; }
  .blog-body h5 { font-size: 1rem; }
}
