/*
 * FSDC 2025 Recap Styles - V2 Redesign
 * Enhanced design with images and milestone cards
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
  --recap-primary: #18bed2;
  --recap-secondary: #081a2b;
  --recap-dark: #0a1e30;
  --recap-light: #f8f9fa;
  --recap-gradient: linear-gradient(135deg, #081a2b 0%, #0d2840 50%, #081a2b 100%);
  --recap-glow: 0 0 40px rgba(24, 190, 210, 0.3);
}

/* ========================================
   HOMEPAGE RECAP SECTION V2
   ======================================== */
.recap-section-home-v2 {
  position: relative;
  padding: 100px 0;
  background: var(--recap-secondary);
  overflow: hidden;
}

.recap-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(24, 190, 210, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(24, 190, 210, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.recap-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(24, 190, 210, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 190, 210, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.recap-home-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Image Section */
.recap-home-image {
  position: relative;
}

.recap-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.recap-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.recap-image-container:hover img {
  transform: scale(1.05);
}

.recap-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 26, 43, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
}

.recap-image-container:hover .recap-image-overlay {
  opacity: 1;
}

.recap-play-btn {
  width: 80px;
  height: 80px;
  background: var(--recap-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recap-play-btn i {
  color: #fff;
  font-size: 1.8rem;
  margin-left: 5px;
}

.recap-image-container:hover .recap-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(24, 190, 210, 0.5);
}

.recap-image-overlay p {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.recap-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(24, 190, 210, 0.95);
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.recap-image-badge i {
  color: #fff;
  font-size: 1rem;
}

.recap-image-badge span {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Info Section */
.recap-home-info {
  position: relative;
}

.recap-year-tag {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.recap-year-tag .year-text {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--recap-primary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.recap-year-tag .tag-line {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  border-left: 2px solid var(--recap-primary);
  padding-left: 15px;
}

.recap-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.recap-heading .text-gradient {
  background: linear-gradient(135deg, var(--recap-primary), #5ce1e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.recap-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Milestones Preview */
.recap-milestones-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.milestone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(24, 190, 210, 0.2);
  padding: 10px 18px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.milestone-item:hover {
  background: rgba(24, 190, 210, 0.1);
  border-color: var(--recap-primary);
  transform: translateY(-2px);
}

.milestone-month {
  color: var(--recap-primary);
  font-weight: 800;
  font-size: 0.85rem;
}

.milestone-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.milestone-more {
  color: var(--recap-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.milestone-more:hover {
  color: #fff;
}

/* CTA Button V2 */
.recap-cta-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--recap-primary), #16a8b8);
  color: #fff;
  padding: 18px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(24, 190, 210, 0.3);
}

.recap-cta-btn-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(24, 190, 210, 0.4);
  color: #fff;
}

.recap-cta-btn-v2 i {
  transition: transform 0.3s ease;
}

.recap-cta-btn-v2:hover i {
  transform: translateX(5px);
}

/* ========================================
   DEDICATED RECAP PAGE V2
   ======================================== */

/* Hero Section */
.recap-page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--recap-dark);
  overflow: hidden;
}

.recap-hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.recap-hero-video-bg video,
.recap-hero-video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.recap-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(8, 26, 43, 0.7) 0%, 
    rgba(8, 26, 43, 0.9) 100%);
}

.recap-hero-content-v2 {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.recap-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(24, 190, 210, 0.15);
  border: 1px solid rgba(24, 190, 210, 0.3);
  padding: 10px 25px;
  border-radius: 50px;
  margin-bottom: 30px;
}

.recap-hero-badge i {
  color: var(--recap-primary);
}

.recap-hero-badge span {
  color: var(--recap-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.recap-hero-year-lg {
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--recap-primary), #fff, var(--recap-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.recap-hero-title {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.recap-hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.recap-scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--recap-primary);
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Milestones Section */
.recap-milestones-section {
  padding: 100px 0;
  background: var(--recap-light);
  position: relative;
}

.recap-section-header {
  text-align: center;
  margin-bottom: 70px;
}

.recap-section-tag {
  display: inline-block;
  color: var(--recap-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.recap-section-title {
  font-size: 2.8rem;
  color: var(--recap-secondary);
  font-weight: 800;
  text-transform: uppercase;
}

/* Milestone Cards Grid */
.milestone-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.milestone-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
}

.milestone-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(24, 190, 210, 0.15);
}

.milestone-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.milestone-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.milestone-card:hover .milestone-card-image img {
  transform: scale(1.1);
}

.milestone-card-month {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--recap-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.milestone-card-content {
  padding: 25px;
}

.milestone-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--recap-secondary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.milestone-card-desc {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}

.milestone-card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(24, 190, 210, 0.1);
  line-height: 1;
}

/* Video Section */
.recap-video-section {
  padding: 100px 0;
  background: var(--recap-secondary);
  position: relative;
}

.recap-video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.recap-video-placeholder {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: linear-gradient(135deg, #0d2840, #081a2b);
}

.recap-video-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recap-video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(8, 26, 43, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.recap-video-play-overlay:hover {
  background: rgba(8, 26, 43, 0.3);
}

.recap-video-play-btn {
  width: 100px;
  height: 100px;
  background: var(--recap-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.recap-video-play-btn i {
  color: #fff;
  font-size: 2.5rem;
  margin-left: 8px;
}

.recap-video-play-overlay:hover .recap-video-play-btn {
  transform: scale(1.15);
  box-shadow: 0 0 60px rgba(24, 190, 210, 0.6);
}

.recap-video-play-overlay p {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Gallery Section */
.recap-gallery-section {
  padding: 100px 0;
  background: var(--recap-light);
}

.recap-gallery-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 20px;
}

.recap-gallery-item-v2 {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.recap-gallery-item-v2:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.recap-gallery-item-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recap-gallery-item-v2:hover img {
  transform: scale(1.1);
}

.recap-gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(8, 26, 43, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.recap-gallery-item-v2:hover .recap-gallery-item-overlay {
  opacity: 1;
}

.recap-gallery-item-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.recap-gallery-item-overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--recap-primary);
  font-size: 2rem;
}

/* Stats Section */
.recap-stats-section {
  padding: 80px 0;
  background: var(--recap-secondary);
}

.recap-stats-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.recap-stat-box-v2 {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(24, 190, 210, 0.15);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.recap-stat-box-v2:hover {
  background: rgba(24, 190, 210, 0.1);
  border-color: var(--recap-primary);
  transform: translateY(-5px);
}

.recap-stat-box-v2 .stat-icon {
  width: 60px;
  height: 60px;
  background: var(--recap-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.recap-stat-box-v2 .stat-icon i {
  color: #fff;
  font-size: 1.5rem;
}

.recap-stat-box-v2 .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.recap-stat-box-v2 .stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* CTA Section */
.recap-cta-section-v2 {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--recap-primary), #16a8b8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.recap-cta-section-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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.05'%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");
  opacity: 0.3;
}

.recap-cta-content {
  position: relative;
  z-index: 2;
}

.recap-cta-title-v2 {
  font-size: 3rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}

.recap-cta-text-v2 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 35px;
}

.recap-cta-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--recap-secondary);
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.recap-cta-btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  color: var(--recap-secondary);
}

.recap-cta-btn-light i {
  transition: transform 0.3s ease;
}

.recap-cta-btn-light:hover i {
  transform: translateX(5px);
}

/* ========================================
   MILESTONE DETAIL SECTIONS
   ======================================== */
.milestone-detail-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.milestone-detail-section.light {
  background: var(--recap-light);
}

.milestone-detail-section.dark {
  background: var(--recap-secondary);
}

.milestone-detail-section.featured {
  background: linear-gradient(135deg, #081a2b 0%, #0d3d56 50%, #081a2b 100%);
  padding: 120px 0;
}

/* Wrapper */
.milestone-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.milestone-detail-wrapper.reverse {
  direction: rtl;
}

.milestone-detail-wrapper.reverse > * {
  direction: ltr;
}

/* Image Frame */
.milestone-detail-image {
  position: relative;
}

.milestone-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.dark .milestone-image-frame {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.milestone-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.milestone-image-frame:hover img {
  transform: scale(1.05);
}

.milestone-date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--recap-primary);
  padding: 12px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(24, 190, 210, 0.4);
}

.milestone-date-badge .month {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.milestone-date-badge .year {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3px;
}

/* Content */
.milestone-detail-content {
  position: relative;
}

.milestone-number {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(24, 190, 210, 0.15);
  line-height: 1;
  position: absolute;
  top: -30px;
  left: -10px;
}

.dark .milestone-number {
  color: rgba(24, 190, 210, 0.1);
}

.milestone-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--recap-secondary);
  line-height: 1.3;
  margin-bottom: 15px;
  padding-top: 20px;
}

.dark .milestone-title {
  color: #fff;
}

.milestone-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.milestone-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--recap-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.milestone-meta span i {
  font-size: 1rem;
}

.milestone-description {
  color: #6c757d;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.dark .milestone-description {
  color: rgba(255, 255, 255, 0.7);
}

.milestone-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.milestone-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: #495057;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .milestone-highlights li {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.milestone-highlights li:last-child {
  border-bottom: none;
}

.milestone-highlights li i {
  color: var(--recap-primary);
  font-size: 1rem;
  margin-top: 3px;
}

/* Featured Section */
.milestone-featured-header {
  text-align: center;
  margin-bottom: 60px;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #d4af37, #f0d060);
  padding: 10px 25px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.featured-badge i {
  color: #081a2b;
  font-size: 1rem;
}

.featured-badge span {
  color: #081a2b;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.milestone-featured-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.milestone-featured-subtitle {
  color: var(--recap-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

/* Featured Grid */
.milestone-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.featured-main-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.featured-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(8, 26, 43, 0.9), transparent);
  padding: 30px 20px 20px;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.featured-content .milestone-meta {
  margin-bottom: 25px;
}

.featured-content .milestone-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.featured-content .milestone-highlights li {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Featured Gallery */
.featured-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.featured-gallery .gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.featured-gallery .gallery-item:hover {
  transform: translateY(-5px);
}

.featured-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/* Gallery Column Variants */
.featured-gallery.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.featured-gallery.four-col {
  grid-template-columns: repeat(4, 1fr);
}

/* Gallery Captions */
.gallery-item {
  position: relative;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(8, 26, 43, 0.9), transparent);
  padding: 25px 15px 12px;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Teal Badge Variant for IDEF */
.featured-badge.teal {
  background: linear-gradient(135deg, var(--recap-primary), #16a8b8);
}

.featured-badge.teal i,
.featured-badge.teal span {
  color: #fff;
}

/* Milestone Inline Gallery */
.milestone-gallery {
  display: grid;
  gap: 20px;
  margin-top: 50px;
}

.milestone-gallery.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.milestone-gallery.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.milestone-gallery .gallery-item {
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dark .milestone-gallery .gallery-item {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.milestone-gallery .gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(24, 190, 210, 0.2);
}

.milestone-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.milestone-gallery .gallery-item:hover img {
  transform: scale(1.08);
}

.milestone-gallery .gallery-caption {
  font-size: 0.9rem;
  padding: 30px 15px 15px;
}

/* IDEF Featured Section Styling */
.milestone-detail-section.featured.idef {
  background: linear-gradient(135deg, #0d3d56 0%, #081a2b 50%, #0d3d56 100%);
}

/* IDEF Light Background Version */
.milestone-detail-section.idef-light {
  background: var(--recap-light);
}

.milestone-detail-section.idef-light .milestone-featured-title {
  color: var(--recap-secondary);
}

.milestone-detail-section.idef-light .milestone-featured-subtitle {
  color: var(--recap-primary);
}

.milestone-detail-section.idef-light .featured-badge.teal {
  background: linear-gradient(135deg, var(--recap-primary), #16a8b8);
}

.milestone-detail-section.idef-light .featured-badge.teal i,
.milestone-detail-section.idef-light .featured-badge.teal span {
  color: #fff;
}

.milestone-detail-section.idef-light .milestone-description {
  color: #6c757d;
}

.milestone-detail-section.idef-light .milestone-highlights li {
  color: #495057;
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.milestone-detail-section.idef-light .milestone-meta span {
  color: var(--recap-primary);
}

.milestone-detail-section.idef-light .gallery-caption {
  background: linear-gradient(to top, rgba(8, 26, 43, 0.9), transparent);
}

/* Milestone Detail Responsive */
@media (max-width: 992px) {
  .milestone-detail-section {
    padding: 80px 0;
  }
  
  .milestone-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .milestone-detail-wrapper.reverse {
    direction: ltr;
  }
  
  .milestone-title {
    font-size: 1.6rem;
  }
  
  .milestone-number {
    font-size: 4rem;
    top: -20px;
  }
  
  .milestone-featured-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .milestone-featured-title {
    font-size: 2.5rem;
  }
  
  .featured-gallery,
  .featured-gallery.three-col,
  .featured-gallery.four-col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .milestone-gallery.three-col,
  .milestone-gallery.four-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .milestone-detail-section {
    padding: 60px 0;
  }
  
  .milestone-title {
    font-size: 1.4rem;
  }
  
  .milestone-description {
    font-size: 1rem;
  }
  
  .milestone-number {
    font-size: 3rem;
    top: -15px;
    left: 0;
  }
  
  .milestone-featured-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .featured-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .milestone-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .milestone-featured-title {
    font-size: 1.6rem;
  }
  
  .featured-badge {
    padding: 8px 18px;
  }
  
  .featured-badge span {
    font-size: 0.8rem;
  }
  
  .milestone-gallery.three-col,
  .milestone-gallery.four-col {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .featured-gallery,
  .featured-gallery.three-col,
  .featured-gallery.four-col {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gallery-caption {
    opacity: 1;
  }
}

/* ========================================
   HOMEPAGE RECAP V3 - 6 IMAGE GRID
   ======================================== */
.recap-section-home-v3 {
  position: relative;
  padding: 100px 0;
  background: var(--recap-secondary);
  overflow: hidden;
}

.recap-bg-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #081a2b 0%, #0d2840 50%, #081a2b 100%);
}

.recap-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(24, 190, 210, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 190, 210, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Header */
.recap-header-center {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.recap-year-badge-v3 {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(24, 190, 210, 0.1);
  border: 1px solid rgba(24, 190, 210, 0.3);
  padding: 12px 30px;
  border-radius: 50px;
  margin-bottom: 25px;
}

.recap-year-badge-v3 .year-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--recap-primary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.recap-year-badge-v3 .year-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-left: 2px solid rgba(24, 190, 210, 0.5);
  padding-left: 15px;
}

.recap-main-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.recap-main-title .text-highlight {
  background: linear-gradient(135deg, var(--recap-primary), #5ce1e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.recap-intro {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 6 Image Grid */
.recap-milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
}

.recap-grid-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.recap-grid-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(24, 190, 210, 0.25);
}

.recap-grid-item.featured {
  border: 2px solid var(--recap-primary);
}

.grid-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grid-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recap-grid-item:hover .grid-item-image img {
  transform: scale(1.15);
}

.grid-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, 
    rgba(8, 26, 43, 0.95) 0%, 
    rgba(8, 26, 43, 0.4) 50%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  transition: background 0.3s ease;
}

.recap-grid-item:hover .grid-item-overlay {
  background: linear-gradient(to top, 
    rgba(24, 190, 210, 0.9) 0%, 
    rgba(8, 26, 43, 0.6) 60%,
    transparent 100%);
}

.grid-item-month {
  display: inline-block;
  background: var(--recap-primary);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  width: fit-content;
}

.grid-item-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.grid-item-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.recap-grid-item:hover .grid-item-desc {
  opacity: 1;
  transform: translateY(0);
}

.grid-item-number {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  transition: color 0.3s ease;
}

.recap-grid-item:hover .grid-item-number {
  color: rgba(255, 255, 255, 0.4);
}

/* CTA Center */
.recap-cta-center {
  text-align: center;
  position: relative;
  z-index: 2;
}

.recap-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, var(--recap-primary), #16a8b8);
  color: #fff;
  padding: 20px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(24, 190, 210, 0.3);
}

.recap-explore-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(24, 190, 210, 0.5);
  color: #fff;
}

.recap-explore-btn i {
  transition: transform 0.3s ease;
}

.recap-explore-btn:hover i {
  transform: translateX(8px);
}

/* V3 Responsive */
@media (max-width: 1200px) {
  .recap-milestone-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .recap-section-home-v3 {
    padding: 80px 0;
  }
  
  .recap-main-title {
    font-size: 2.2rem;
  }
  
  .recap-milestone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .recap-section-home-v3 {
    padding: 60px 0;
  }
  
  .recap-main-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  .recap-intro {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  .recap-year-badge-v3 {
    flex-direction: column;
    gap: 8px;
    padding: 15px 25px;
  }
  
  .recap-year-badge-v3 .year-label {
    border-left: none;
    border-top: 1px solid rgba(24, 190, 210, 0.5);
    padding-left: 0;
    padding-top: 8px;
  }
  
  .recap-milestone-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .grid-item-title {
    font-size: 0.95rem;
  }
  
  .grid-item-overlay {
    padding: 15px;
  }
  
  .recap-explore-btn {
    padding: 16px 35px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .recap-main-title {
    font-size: 1.5rem;
  }
  
  .recap-milestone-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .recap-grid-item {
    aspect-ratio: 16/10;
  }
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1200px) {
  .milestone-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .recap-gallery-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .recap-gallery-item-v2:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .recap-home-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .recap-home-image {
    order: 2;
  }
  
  .recap-home-info {
    order: 1;
    text-align: center;
  }
  
  .recap-year-tag {
    justify-content: center;
  }
  
  .recap-milestones-preview {
    justify-content: center;
  }
  
  .recap-heading {
    font-size: 2rem;
  }
  
  .recap-hero-year-lg {
    font-size: 6rem;
  }
  
  .recap-stats-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .recap-section-home-v2 {
    padding: 60px 0;
  }
  
  .recap-year-tag .year-text {
    font-size: 2.5rem;
  }
  
  .recap-heading {
    font-size: 1.6rem;
  }
  
  .recap-description {
    font-size: 1rem;
  }
  
  .milestone-item {
    padding: 8px 14px;
  }
  
  .milestone-text {
    font-size: 0.8rem;
  }
  
  .recap-hero-year-lg {
    font-size: 4rem;
  }
  
  .recap-hero-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
  
  .recap-section-title {
    font-size: 2rem;
  }
  
  .milestone-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .recap-gallery-grid-v2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 200px);
  }
  
  .recap-gallery-item-v2:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .recap-stats-grid-v2 {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .recap-stat-box-v2 {
    padding: 25px 15px;
  }
  
  .recap-stat-box-v2 .stat-number {
    font-size: 2rem;
  }
  
  .recap-cta-title-v2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .recap-year-tag {
    flex-direction: column;
    gap: 10px;
  }
  
  .recap-year-tag .tag-line {
    border-left: none;
    border-top: 2px solid var(--recap-primary);
    padding-left: 0;
    padding-top: 10px;
  }
  
  .recap-heading {
    font-size: 1.4rem;
  }
  
  .recap-milestones-preview {
    flex-direction: column;
    align-items: center;
  }
  
  .milestone-item {
    width: 100%;
    justify-content: center;
  }
  
  .recap-hero-year-lg {
    font-size: 3rem;
  }
  
  .recap-gallery-grid-v2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .recap-gallery-item-v2:first-child {
    grid-column: span 1;
  }
  
  .recap-stats-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .recap-hero-year-lg,
  .recap-scroll-arrow,
  .recap-play-btn,
  .recap-video-play-btn {
    animation: none;
  }
  
  .recap-image-container img,
  .milestone-card,
  .recap-gallery-item-v2 img,
  .recap-stat-box-v2 {
    transition: none;
  }
}
