/**
 * Skill Development Page Styles
 * TGPCET AICTE IDEA Lab
 * Designed to seamlessly blend with Mentor Bootstrap Theme
 */

/* Quick Stats Section */
.skill-stats {
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(8, 121, 144, 0.04) 0%, rgba(95, 207, 128, 0.08) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-card {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--accent-color, #5fcf80);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color, #5fcf80) 15%, transparent);
  color: var(--accent-color, #5fcf80);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.stat-icon.blue {
  background: rgba(8, 121, 144, 0.12);
  color: #087990;
}

.stat-icon.orange {
  background: rgba(253, 126, 20, 0.12);
  color: #fd7e14;
}

.stat-icon.purple {
  background: rgba(111, 66, 193, 0.12);
  color: #6f42c1;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--heading-color, #37423b);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color, #444) 75%, transparent);
  margin: 0;
  font-weight: 500;
}

/* Program Overview Card */
.program-intro-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border-left: 6px solid #087990;
  position: relative;
  overflow: hidden;
}

.program-intro-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(95, 207, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 121, 144, 0.1);
  color: #087990;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-badge.green {
  background: rgba(95, 207, 128, 0.15);
  color: #278c48;
}

.section-badge.amber {
  background: rgba(255, 193, 7, 0.2);
  color: #946200;
}

.program-intro-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color, #37423b);
  margin-bottom: 20px;
}

.program-lead-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color, #444444);
  margin-bottom: 16px;
  text-align: justify;
}

/* Objectives Box & Grid */
.objective-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.objective-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color, #5fcf80);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.objective-card .obj-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #087990;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.objective-card h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color, #37423b);
  margin-bottom: 10px;
}

.objective-card p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color, #444) 80%, transparent);
  line-height: 1.6;
  margin: 0;
}

/* Quick Jump Event Filters */
.event-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.event-nav-btn {
  background: #ffffff;
  color: var(--heading-color, #37423b);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.event-nav-btn:hover,
.event-nav-btn.active {
  background: #087990;
  color: #ffffff;
  border-color: #087990;
}

/* Date-Wise Event Showcase Cards & Multi-Photo Galleries */
.event-showcase-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 45px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 6px solid #087990;
  transition: all 0.3s ease;
  position: relative;
}

.event-showcase-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

.event-showcase-card.highlight-card {
  border-left-color: var(--accent-color, #5fcf80);
}

.event-showcase-header {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.event-batch-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(8, 121, 144, 0.1);
  color: #087990;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.event-batch-tag.green {
  background: rgba(95, 207, 128, 0.15);
  color: #1e7e34;
}

.event-school-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color, #37423b);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-school-heading i {
  color: #087990;
  font-size: 24px;
}

.event-desc-text {
  font-size: 15px;
  color: #555555;
  margin-bottom: 0;
  line-height: 1.6;
}

.event-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f4f6f8;
  color: var(--heading-color, #37423b);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.event-meta-pill i {
  color: #087990;
  font-size: 15px;
}

.event-meta-pill.students-count {
  background: rgba(95, 207, 128, 0.15);
  color: #155724;
  border-color: rgba(95, 207, 128, 0.3);
}

.event-meta-pill.students-count i {
  color: #155724;
}

.event-meta-pill.photos-count {
  background: rgba(8, 121, 144, 0.1);
  color: #087990;
  border-color: rgba(8, 121, 144, 0.2);
}

/* Event Photo Grid (6 to 8 photos per event) */
.event-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.event-photo-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-photo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-color, #5fcf80);
}

.event-photo-thumb {
  position: relative;
  overflow: hidden;
  height: 175px;
  background: #111111;
  display: block;
}

.event-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.event-photo-item:hover .event-photo-thumb img {
  transform: scale(1.08);
}

.event-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
}

.event-photo-overlay i {
  font-size: 26px;
  background: rgba(95, 207, 128, 0.85);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.event-photo-item:hover .event-photo-overlay {
  opacity: 1;
}

.event-photo-item:hover .event-photo-overlay i {
  transform: scale(1);
}

.event-photo-caption {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color, #37423b);
  line-height: 1.4;
  margin: 0;
  background: #ffffff;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.event-photo-caption i {
  color: var(--accent-color, #5fcf80);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.photo-placeholder-tag {
  font-size: 12px;
  color: #888888;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Also support legacy single-card .visit-card in case referenced */
.visit-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.visit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(95, 207, 128, 0.5);
}

.visit-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #222;
}

.visit-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.visit-card:hover .visit-img-wrap img {
  transform: scale(1.08);
}

.visit-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 121, 144, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.visit-zoom-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--heading-color, #37423b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.visit-card:hover .visit-zoom-btn {
  opacity: 1;
  transform: scale(1);
}

.visit-zoom-btn:hover {
  background: var(--accent-color, #5fcf80);
  color: #ffffff;
}

.visit-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.visit-school-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color, #37423b);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.visit-school-name i {
  color: #087990;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.visit-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555555;
}

.visit-meta-item i {
  color: var(--accent-color, #5fcf80);
  font-size: 15px;
}

.visit-meta-item.students-badge {
  background: rgba(95, 207, 128, 0.15);
  color: #1b6935;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
}

.visit-caption {
  font-size: 13.5px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.visit-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
}

/* 3-Day Ideation Workshop Showcase */
.ideation-section {
  background: #fbfcfc;
  padding: 70px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ideation-feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 18px;
  border-left: 4px solid var(--accent-color, #5fcf80);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.ideation-feature-card:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-left-color: #087990;
}

.ideation-feature-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color, #37423b);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ideation-feature-card h5 i {
  color: #087990;
  font-size: 18px;
}

.ideation-feature-card p {
  font-size: 14px;
  color: #555555;
  margin: 0;
  line-height: 1.6;
}

.ideation-highlight-box {
  background: linear-gradient(135deg, #087990 0%, #0d5c6d 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 15px 35px rgba(8, 121, 144, 0.25);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.ideation-highlight-box::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.ideation-highlight-title {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 15px;
}

.ideation-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Workshop Gallery Grid */
.workshop-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 250px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.workshop-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.workshop-gallery-item:hover img {
  transform: scale(1.08);
}

.workshop-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
  transition: background 0.3s ease;
}

.workshop-gallery-overlay h6 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.workshop-gallery-overlay span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* Consolidated Table */
.data-table-container {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.data-table-custom {
  margin: 0;
}

.data-table-custom thead {
  background: #087990;
  color: #ffffff;
}

.data-table-custom thead th {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: none;
}

.data-table-custom tbody td {
  padding: 16px 20px;
  vertical-align: middle;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.data-table-custom tbody tr:hover {
  background-color: rgba(95, 207, 128, 0.05);
}

/* Note Banner */
.notice-box {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #795548;
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-box i {
  font-size: 22px;
  color: #ff9800;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
  .event-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .program-intro-card {
    padding: 28px;
  }
  .stat-card {
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .event-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .event-photo-thumb {
    height: 150px;
  }
  .event-showcase-card {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .visit-img-wrap {
    height: 190px;
  }
  .stat-number {
    font-size: 26px;
  }
  .program-intro-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .event-photo-grid {
    grid-template-columns: 1fr;
  }
}
