
/* HERO PREMIUM */
.hero-premium {
  position: relative;
  padding: 5rem 5% 5rem;
  text-align: center;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-premium h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-premium h1 .highlight {
  background: linear-gradient(90deg, #5cb8ff, #a48cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-premium p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Button glow and lift */
.hero-premium .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius);
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(92,184,255,0.4);
  transition: all 0.35s ease;
}

.hero-premium .btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(92,184,255,0.6);
}

.hero-premium .btn-outline {
  padding: 1rem 2rem;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
  border-radius: var(--radius);
  font-size: 1.1rem;
  transition: all 0.35s ease;
}

.hero-premium .btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(92,184,255,0.4);
}

/* Floating shapes */
.hero-premium .hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatHero 6s ease-in-out infinite alternate;
}

.shape-1 { width: 120px; height: 120px; background: #FFD580; top: -40px; left: 10%; }
.shape-2 { width: 80px; height: 80px; background: #A48CFF; top: 20%; right: 15%; }
.shape-3 { width: 100px; height: 100px; background: #FF7A7A; bottom: -50px; left: 20%; }
.shape-4 { width: 60px; height: 60px; background: #52C291; bottom: 15%; right: 10%; }

@keyframes floatHero {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(15deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-premium h1 { font-size: 2.2rem; }
  .hero-premium p { font-size: 1rem; }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline { width: 100%; }
  .hero-premium .hero-shape { display: none; }
}




.question-list-section {
  padding: 4rem 5%;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.question-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.question-item {
  display: block;
  background: #f8fbff;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.question-item:hover {
  background: #e8f2ff;
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(92,184,255,0.15);
}















/* BLOG READING PAGE STYLING */
.blog-hero {
  position: relative;
  padding-top: 2rem;
  text-align: center;
  overflow: hidden;
}

.blog-header-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 140%;
  height: 350px;
  
  transform: translateX(-50%);
  border-radius: 0 0 50% 50% / 10%;
  z-index: -1;
}

.blog-header {
  max-width: 850px;
  margin: 0 auto;
  padding-bottom: 1rem;
}

.blog-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.blog-meta {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  padding: 0.6rem 1rem;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.meta-author img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
}

.author-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-cover {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* CONTENT */


.blog-content {
  max-width: 850px;
  margin: 2rem auto;
  line-height: 1.8;
  color: var(--text-dark);
}

.blog-intro::first-letter {
  float: left;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-right: 10px;
  line-height: 1;
}

.blog-content h2 {
  font-size: 25px;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  position: relative;
}

.blog-content h2::after {
  content: "";
  width: 40px;
  height: 4px;
  background: var(--primary-blue);
  border-radius: 4px;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.blog-content h3 {
  font-size: 19px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}



.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 2rem;
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.blog-table th {
  background: #eaf3ff;
  color: var(--primary-blue);
  text-align: left;
  padding: 0.8rem 1rem;
  font-weight: 600;
}

.blog-table td {
  padding: 0.8rem 1rem;
  border-top: 1px solid #eee;
}

/* QUOTE */
.blog-quote {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #eef6ff);
  padding: 2rem 2.5rem;
  border-left: 5px solid var(--primary-blue);
  border-radius: var(--radius);
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-dark);
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.quote-mark {
  font-size: 4rem;
  color: var(--primary-blue);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: 10px;
}

/* DID YOU KNOW */
.did-you-know {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fffaf0;
  border: 1px solid #ffe4b5;
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: 0 6px 18px rgba(255, 200, 120, 0.15);
  margin-top: 30px;
}

.dyk-icon {
  font-size: 1.8rem;
}

/* FAQ */
.faq-section {
  margin-top: 2rem;
}

.faq-item {
  background: #ffffff;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
}

.faq-item h3 {
  font-size: 20px;
  color: var(--primary-blue);
  margin-bottom: 0.4rem;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding: 2rem;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Gradient border glow effect */
.author-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, #5cb8ff, #a48cff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Background pattern overlay */
.author-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(92,184,255,0.08), transparent 70%),
              radial-gradient(circle at 80% 70%, rgba(164,140,255,0.08), transparent 60%);
  pointer-events: none;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #eaf3ff;
  box-shadow: 0 4px 12px rgba(92,184,255,0.2);
}

.author-info {
  position: relative;
  z-index: 1;
}

.author-info h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  background: linear-gradient(90deg, #5cb8ff, #a48cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 1.8rem;
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .blog-title { font-size: 2.1rem; }
  .author-box { flex-direction: column; text-align: center; }
  .blog-content { font-size: 1rem; }
}


/* Unordered & Ordered List Styling */
.custom-list {
  margin: 1rem 0 2rem 1.2rem;
  padding: 0;
  list-style: none;
}

.custom-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  transition: all 0.3s ease;
}

/* Gradient bullet for unordered list */
ul.custom-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5cb8ff, #a48cff);
  box-shadow: 0 2px 6px rgba(92,184,255,0.3);
}

/* Numbered bullet for ordered list */
ol.custom-list {
  counter-reset: custom-counter;
}

ol.custom-list li {
  counter-increment: custom-counter;
}

ol.custom-list li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--primary-blue);
}








/* MAIN CONTAINER */
.math-container {
    padding: 3rem 5%;
    display: flex;
    justify-content: center;
    background: #f5f7fa;
    font-family: "Poppins", sans-serif;
}

/* CARD */
.math-card {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    padding: 2.4rem 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* QUESTION TITLE */
.math-question-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    background: #f3f4f6;
    border-left: 4px solid #1d4ed8; /* Blue accent */
    border-radius: 6px;
}

/* SECTION HEADINGS */
.math-block-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-top: 1.6rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid #e5e7eb;
}

/* LISTS */
.math-list {
    padding: 0;
    margin: 0 0 1.2rem 0;
    list-style: none;
}

.math-list li {
    padding-left: 1.2rem;
    margin-bottom: 0.55rem;
    font-size: 1.02rem;
    color: #000000;
    position: relative;
}

/* Bullet point */
.math-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #1d4ed8;
    font-size: 1.2rem;
    line-height: 1;
}

/* EQUATION BLOCK */
.math-equation-block {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-family: "Poppins", sans-seri;
    font-size: 1rem;
    color: #1e293b;
    margin: 0.8rem 0;
    overflow-x: auto;
}

/* FINAL ANSWER BOX */
.math-final-answer {
    background: #e7f7ec;
    border: 1px solid #a7dfb8;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin-top: 1.1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #166534;
}

/* PARAGRAPHS */
.math-card p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.65;
    margin: 0.4rem 0 0.8rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .math-container {
        padding: 2rem 1rem;
    }

    .math-card {
        padding: 1.8rem 1.4rem;
    }

    .math-question-title {
        font-size: 1.2rem;
        padding: 0.9rem;
    }

    .math-equation-block {
        font-size: 0.95rem;
    }

    .math-final-answer {
        font-size: 1.05rem;
    }
}

