* {
    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: 50vh;
    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('building.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center ;
    margin: 0;
    border: none;
    outline: none;
    height: 100%;
    text-align: center;
    padding-right: 40px;
    padding-left: 40px;
    padding-top: 10px;
    padding-bottom: 40px;
}
.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-size: clamp(28px, 3vw, 40px);
    color: var(--white);
    line-height: 1.20;
    margin-top: 20px;
    letter-spacing: -0.5px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}

.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;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    padding-top: 60px; 
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #f4f6f9;
}

.gallery-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Filter Navigation */
.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 37px;
    border-bottom: 1px solid #d1d5db;;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: #ffffff;
    color: #0b1a4a;
    border: 1px solid #e2e8f0;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover {
    color: var(--brand-red);
}

.filter-btn.active {
    background-color: #d90429;
    color: #ffffff;
    border-color: #d90429;
    box-shadow: 0 6px 16px rgba(217, 4, 41, 0.35);
}

/* --- GALLERY GRID STYLING --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 28px;
}

.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    background-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.03);
}

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-card {
        height: 240px;
    }
}

/* --- VIDEO STORIES SECTION --- */
.video-stories-section {
    padding: 60px 60px;
    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 {
    transform: scale(1.12);
    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;
}

/* Local <video> element (same show/hide behavior as iframe above) */
.video-thumbnail-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    z-index: 3;
    display: none;
}

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

/* Student Name & Country Below Video */
.student-info {
    padding-top: 16px;
}

.student-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b2240;
    margin-bottom: 4px;
}

.student-info .country {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-red, #c91818);
}

/* 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;
    }
    .video-stories-section { padding: 40px 20px; }
}

/* --- FOLLOW ALONG / INSTAGRAM SECTION --- */
.follow-section {
    padding: 60px 60px;
    background-color: #f4f6f9; 
    text-align: center;
}
.follow-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Header Styles */
.follow-header {
    margin-bottom: 40px;
}

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

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

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

.follow-header h2 .handle {
    color: var(--brand-red);
}

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

/* Grid Layout (6 Columns) */
.follow-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

/* Image Card Container */
.follow-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.follow-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Hover Dark Overlay */
.follow-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(11, 26, 74, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Hover Icon */
.follow-overlay i {
    color: var(--white);
    font-size: 22px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Hover Trigger State */
.follow-card:hover .follow-overlay {
    opacity: 1;
    visibility: visible;
}

.follow-card:hover .follow-overlay i {
    transform: scale(1);
}

.follow-card:hover img {
    transform: scale(1.05);
}

/* Instagram Red Button */
.follow-cta-wrapper {
    margin-top: 10px;
}

.btn-instagram {
    display: inline-block;
    background-color: #d90429;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.35);
    transition: all 0.2s ease;
}

.btn-instagram:hover {
    background-color: #b80323;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 4, 41, 0.45);
}

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

@media (max-width: 480px) {
    .follow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .follow-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .follow-section { padding: 40px 20px; }
    .blog-hero1 { padding: 40px 20px; }
}


/* === GALLERY LIGHTBOX === */
.gallery-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(1, 10, 38, 0.92);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 30px;
    cursor: pointer;
}
.gallery-lightbox-overlay.active {
    display: flex;
}
.gallery-lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
}
.gallery-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 2;
}
.gallery-lightbox-arrow:hover {
    background-color: rgba(255, 255, 255, 0.35);
}
.lb-arrow-left { left: 20px; }
.lb-arrow-right { right: 20px; }
.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 2;
}
.gallery-lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
.gallery-lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    white-space: normal;
}
.gallery-card {
    cursor: pointer;
}

@media (max-width: 768px) {
  .video-header h2 {
    font-size: 26px;
  }
  .gallery-lightbox-overlay {
    padding: 16px;
  }
  .gallery-lightbox-arrow {
    width: 36px;
    height: 36px;
  }
  .lb-arrow-left {
    left: 8px;
  }
  .lb-arrow-right {
    right: 8px;
  }
  .gallery-lightbox-caption {
    font-size: 12px;
    padding: 6px 14px;
  }
}

@media (max-width: 480px) {
  .video-thumbnail-wrapper {
    height: 200px;
  }

  .gallery-card {
    height: 200px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .video-stories-section {
    padding: 32px 16px;
  }

  .follow-section {
    padding: 32px 16px;
  }

  .gallery-section {
    padding-left: 12px;
    padding-right: 12px;
  }

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

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

@media (max-width: 400px) {
  .follow-grid {
    gap: 10px;
  }

  .follow-header h2 {
    font-size: 22px;
  }

  .video-thumbnail-wrapper {
    height: 170px;
  }

  .gallery-card {
    height: 170px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 11px;
  }

  .video-stories-section {
    padding: 24px 12px;
  }

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

  .follow-section {
    padding: 24px 12px;
  }

  .gallery-section {
    padding-left: 8px;
    padding-right: 8px;
  }

  .gallery-grid {
    column-gap: 12px;
  }

  .blog-hero1 {
    padding: 32px 12px;
    min-height: 30vh;
  }

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

  .gallery-lightbox-arrow {
    width: 32px;
    height: 32px;
  }

  .lb-arrow-left {
    left: 4px;
  }

  .lb-arrow-right {
    right: 4px;
  }
}