* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

:root {
    --navy-dark-blue: #010a26;
    --brand-blue: #0b1a4a;
    --brand-red: #c91818;
    --text-dark: #1e293b;
    --white: #ffffff;
    --border-capsule: #cbd5e1;
    --pill-active-bg: #fee2e2;
}

body {
    background-color: #f8fafc;
}

.blog-hero1 {
    position: relative;
    width: 100%;
    min-height: 48vh;
    display: flex;
    align-items: center;
    justify-content: center;
    
    background-color: #0d1f45; 
    
    background-image:
        linear-gradient(100deg, rgba(8, 21, 51, 0.92) 0%, rgba(13, 31, 69, 0.88) 50%, rgba(10, 25, 59, 0.85) 100%),
        url('paper.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0;
    border: none;
    outline: none;
    
    text-align: center;
    padding: 80px 24px;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 40px;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.05);
}

.blog-hero-content h1 {
    font-family: 'Playfair Display', 'Segoe UI', serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.25;
    color: #ffffff;
    margin-top: 4px;
}

.hero-subtext {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    max-width: 800px;
    line-height: 1.6;
}

/* Breadcrumbs */
.hero-breadcrumbs {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.hero-breadcrumbs .crumb-white {
    color: #ffffff;
}

.hero-breadcrumbs .bold-home,
.hero-breadcrumbs .bold-blog {
    font-weight: 700;
}

.hero-breadcrumbs .crumb-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.hero-breadcrumbs .crumb-faded {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.video-testimonial-section {
    background-color: #fcfbf7;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    max-width: 1100px;
    position: relative;
    padding-bottom: 24px;
}

/* Arrow Navigation */
.nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    z-index: 10;
}

.nav-arrow:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #c91818;
}

/* Slider Frame & Window */
.video-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
}

/* Slide Window mask */
.video-track {
    display: flex;
    width: 500%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    /* Smooth Sliding Animation Transition */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-poster {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 65, 0.45);
}

/* Ensure video slides don't overflow */
.video-slide {
    width: 20%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    background-color: #0d1b41;
    overflow: hidden;
}

.video-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    z-index: 3;
}

.video-slide .play-btn {
    display: flex;
}

.video-slide.playing .video-poster {
    display: none;
}

.video-slide.playing video {
    display: block;
}

/* Video story cards (local <video>, not iframe) */
.video-thumbnail-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
    display: none;
}

.video-thumbnail-wrapper.playing video {
    display: block;
}

.video-thumbnail-wrapper.playing img,
.video-thumbnail-wrapper.playing .story-play-btn {
    display: none;
}

.story-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    z-index: 4;
}

/* Play Button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #d00f13;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 4px 20px rgba(208, 15, 19, 0.4);
    transition: transform 0.2s ease;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.play-icon-triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #ffffff;
    margin-left: 4px;
}

/* Avatar Strip Below */
.avatar-row-wrapper {
    overflow: visible;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.avatar-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: all 0.3s ease;
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-item:hover {
    opacity: 1;
}

.avatar-item.active {
    width: 74px;
    height: 74px;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    opacity: 1;
}
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
  --primary-red: #c91818;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f6f8fc;
}

.students-reviews-section {
  background-color: var(--bg-light);
  padding: 80px 40px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styling */
.reviews-header {
  text-align: center;
  margin-bottom: 40px;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.badge-line {
  width: 24px;
  height: 2px;
  background-color: var(--primary-red);
}

.badge-text {
  color: var(--primary-red);
  font-size: 14px;
  font-weight: 600;
}

.reviews-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #1a233a;
  margin: 0 0 16px 0;
  font-weight: 700;
}

.highlight-red {
  color: var(--primary-red);
}

.reviews-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter Tabs */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.filter-btn:hover {
  border-color: #cbd5e1;
}

.filter-btn.active {
  background-color: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  box-shadow: 0 4px 12px rgba(201, 24, 24, 0.3);
}

/* Reviews Grid */
/* Section Background (Soft off-white like in image) */
.students-reviews-section {
  background-color: #f8fafc;
  padding: 80px 20px;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Review Card Styling */
.review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px 32px; /* Matched card padding */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 24, 24, 0.2);
}

.star-rating {
  color: #cc1515; /* Matching red stars */
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.review-text {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 32px 0;
  font-weight: 400;
}

.card-divider {
  height: 1px;
  background-color: #f1f5f9;
  margin-bottom: 20px;
}

/* Student Info Section (FIXED Layout) */
.student-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.student-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* Prevents image from squishing */
}

.student-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.student-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
  line-height: 1.2;
}

.student-meta {
  font-size: 13.5px;
  color: #cc1515; /* Red University & Country text */
  font-weight: 600;
  line-height: 1.2;
  display: block;
}

/* Category Filter Tabs at Top */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active {
  background: #cc1515;
  color: #ffffff;
  border-color: #cc1515;
  box-shadow: 0 4px 12px rgba(204, 21, 21, 0.3);
}

.filter-btn:hover:not(.active) {
  background: #f1f5f9;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .students-reviews-section {
    padding: 60px 20px;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500&display=swap');

/* Stats Banner Container */
.stats-counter-section {
  position: relative;
  width: 100%;
  padding: 80px 40px;
  /* Darkened background image with blue/tint overlay */
  background: linear-gradient(
      rgba(15, 23, 42, 0.75), 
      rgba(15, 23, 42, 0.75)
    ), 
    url('jpt.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  box-sizing: border-box;
  background-attachment: fixed;
}

/* Flexbox Layout for the Grid */
.stats-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Glassmorphism Card Style */
.stat-card {
  background: rgba(255, 255, 255, 0.08); /* Translucent fill */
  border: 1px solid rgba(255, 255, 255, 0.25); /* Subtle white border */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Number Styling */
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* Label Styling */
.stat-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
  .stats-counter-section {
    padding: 60px 20px;
  }
}

/* --- VIDEO STORIES SECTION --- */
.video-stories-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.video-stories-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Header Styles */
.video-header {
    margin-bottom: 48px;
}

.video-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-red, #c91818);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-header .section-tag .line {
    width: 24px;
    height: 1.5px;
    background-color: var(--brand-red, #c91818);
    display: inline-block;
}

.video-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: #0b2240;
    margin-bottom: 12px;
}

.video-header h2 .highlight {
    color: var(--brand-red, #c91818);
}

.video-header p {
    color: #64748b;
    font-size: 14.5px;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Video Grid (3 Columns) */
.video-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Video Card */
.video-story-card {
    text-align: left;
}

.video-thumbnail-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    background-color: #0b1a4a;
}

.video-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark Tinted Blue Overlay */
.video-tint-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 26, 74, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 2;
}

/* Red Circle Play Button */
.video-tint-overlay .play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #d90429;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    padding-left: 3px;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover States */
.video-story-card:hover .video-tint-overlay {
    background: rgba(11, 26, 74, 0.3);
}

.video-story-card:hover .play-btn {
    
    background-color: #b80323;
}

/* YouTube Embedded iFrame positioning inside thumbnail container */
.video-thumbnail-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 3;
    display: none;
}

/* Show iframe and hide cover image/overlay when playing */
.video-thumbnail-wrapper.playing iframe {
    display: block;
}

.video-thumbnail-wrapper.playing .video-tint-overlay,
.video-thumbnail-wrapper.playing img {
    display: none;
}

/* Student Name & Country Below Video */
.student-info {
    padding-top: 8px; /* Image ra Name bich ko gap kam gariyo */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.student-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b2240;
    margin: 0 0 2px 0; /* Name ra Country bich exact tight gap */
    padding: 0;
    line-height: 1.1; /* Extra spacing hatauna */
}

.student-info .country {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-red, #c91818);
    margin: 0;
    padding: 0;
    line-height: 1.1;
}
/* Responsive Scaling */
@media (max-width: 1024px) {
    .video-stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-stories-grid {
        grid-template-columns: 1fr;
    }
}

/* Import Google Fonts for matching typography */
@import url('https://fonts.googleapis.com/css2?family=Georgia&family=Inter:wght@400;600;700&display=swap');

.cta-banner {
  background-color: #8b0000; /* Deep red color */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.cta-subtitle {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 32px 0;
  opacity: 0.95;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background-color: transparent;
  text-decoration: none;
  border: 1.5px solid #ffffff;
  border-radius: 4px;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

/* Hover effect for interactive feel */
.cta-button:hover {
  background-color: #ffffff;
  color: #8b0000;
}

/* Responsive design for mobile screens */
@media (max-width: 768px) {
  .stats-counter-section { background-attachment: scroll; }
  .cta-banner {
    padding: 60px 16px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
  }

  .video-testimonial-section {
    padding: 40px 20px;
  }
  .carousel-container {
    gap: 16px;
  }
  .nav-arrow {
    width: 36px;
    height: 36px;
  }
  .video-slider-wrapper {
    height: 280px;
  }
}

/* Compact avatar strip for very small screens */
@media (max-width: 480px) {
  .avatar-row {
    gap: 8px;
  }

  .avatar-item {
    width: 44px;
    height: 44px;
  }

  .avatar-item.active {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .blog-hero-content h1 {
    font-size: 28px;
  }
  .reviews-title {
    font-size: 28px;
  }
  .video-header h2 {
    font-size: 26px;
  }
}

@media (max-width: 400px) {
  .avatar-row {
    gap: 6px;
  }

  .avatar-item {
    width: 38px;
    height: 38px;
  }

  .avatar-item.active {
    width: 52px;
    height: 52px;
  }

  .stats-container {
    gap: 16px 12px;
  }

  .stat-item {
    padding: 8px 0;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stats-counter-section {
    padding: 32px 16px;
  }

  .blog-hero-content h1 {
    font-size: 22px;
  }

  .reviews-title {
    font-size: 22px;
  }

  .video-header h2 {
    font-size: 20px;
  }

  .testimonial-card {
    padding: 20px 16px;
    min-height: 260px;
  }

  .testimonial-card .review-text {
    font-size: 13px;
  }

  .testimonial-card .user-details h4 {
    font-size: 13px;
  }

  .testimonial-card .user-details p {
    font-size: 11px;
  }

  .blog-hero1 {
    padding: 40px 16px;
    min-height: 35vh;
  }

  .blog-hero1 h1 {
    font-size: 24px;
  }
}