:root {
  /* Premium Color Palette */
  --primary-navy: #0a192f;
  --accent-gold: #c5a059;
  --accent-gold-light: #e6c88b;
  --text-dark: #1a1a1a;
  --text-gray: #4a4a4a;
  --bg-light: #f8f9fa;
  --bg-warm: #f9f8f5;
  /* Warm white for sections */
  --white: #ffffff;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-dark);
  line-height: 1.75;
  /* Increased for better readability */
  overflow-x: hidden;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* [Typography] */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  /* Tighter headings */
}

.section-title {
  font-size: 3.2rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -0.03em;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 4.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  font-weight: 300;
}

/* [Buttons] */
.btn {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  /* Larger buttons */
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.95);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease-out, height 0.4s ease-out;
}

.btn:active::after {
  width: 300%;
  height: 300%;
  transition: 0s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1a3a5e 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 10px 20px rgba(10, 25, 47, 0.2);
  padding: 14px 30px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(10, 25, 47, 0.3);
  background: linear-gradient(135deg, #1a3a5e 0%, var(--primary-navy) 100%);
}



.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
}

.btn-outline:hover {
  background: var(--primary-navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.2);
}

.btn-block {
  display: block;
  width: 100%;
}

/* [Layout] */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* [Navigation] */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  transition: all 0.4s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar.scrolled,
.navbar-dark-static {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--white);
  /* Default white for transparent header */
  position: relative;
}

/* Color change on scroll */
.navbar.scrolled .nav-links a,
.navbar-dark-static .nav-links a {
  color: var(--primary-navy);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .btn-primary {
  color: var(--white) !important;
  padding: 10px 25px;
}

.nav-links .btn-login-header {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.navbar.scrolled .btn-login-header,
.navbar-dark-static .btn-login-header {
  border-color: var(--primary-navy);
  color: var(--primary-navy);
}

.nav-links .btn-login-header:hover {
  background: var(--primary-navy);
  border-color: var(--primary-navy);
  color: #fff;
}

.nav-toggle {
  display: none;
}

/* User Greeting in Header */
.user-greeting {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .profile-link,
.navbar-dark-static .profile-link {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 5px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-slider::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.testimonial-card {
  min-width: 300px;
  max-width: 350px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  scroll-snap-align: center;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.quote-icon {
  font-size: 4rem;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: -20px;
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  border-top: 1px solid #f5f5f5;
  padding-top: 20px;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #555;
  font-size: 1.2rem;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 768px) {
  .testimonial-slider {
    gap: 20px;
  }

  .testimonial-card {
    min-width: 280px;
  }
}

/* Floating Action Button */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.fab-btn {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  font-size: 24px;
}

.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.fab-label {
  position: absolute;
  right: 70px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
}

/* View Profile Button Style */
.view-profile-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  font-size: 0.9rem;
  margin-top: 10px;
}

.star-card:hover .view-profile-btn {
  transform: translateY(0);
}

.view-profile-btn:hover {
  background: #fff;
  color: var(--primary-navy);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* FAB Hover & Media Query */
.fab-btn:hover .fab-label {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@media (max-width: 768px) {
  .fab-container {
    bottom: 20px;
    right: 20px;
  }

  .fab-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Bottom Action Bar */
.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.bottom-action-bar.show {
  transform: translateY(0);
}

.action-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selected-count {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.action-desc {
  font-size: 0.9rem;
  color: #666;
  margin-left: 10px;
  font-weight: 400;
}

.action-btn {
  background: var(--primary-navy);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.action-btn:hover {
  background: #1a3a5e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* No Results Style */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  animation: fadeIn 0.5s ease;
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-results p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 25px;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 9999;
    position: relative;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Hamburger color on scroll or white page */
  .navbar.scrolled .nav-toggle span,
  .navbar-dark-static .nav-toggle span,
  .nav-links.active~.nav-toggle span {
    background-color: var(--primary-navy);
  }

  /* Hide default desktop nav links on mobile */
  .nav-links {
    display: none !important;
  }

  /* New Mobile Dashboard Menu Styles */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 2000;
    display: none;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
  }

  .mobile-menu-overlay.active {
    display: flex;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f1f1;
  }

  .mobile-menu-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
  }

  .close-mobile-menu {
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 5px;
  }

  .mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f9f9f9;
  }

  /* User Info Card */
  .mobile-user-card,
  .mobile-login-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    text-align: center;
  }

  .mobile-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }

  .mobile-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-navy);
    overflow: hidden;
  }

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

  .mobile-user-text {
    text-align: left;
    display: flex;
    flex-direction: column;
  }

  .mobile-user-text strong {
    font-size: 1.1rem;
    color: var(--primary-navy);
  }

  .mobile-user-text span {
    font-size: 0.9rem;
    color: #666;
  }

  .mobile-user-actions {
    display: flex;
    gap: 10px;
  }

  .btn-mobile-action {
    flex: 1;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f8f9fa;
    color: #555;
    font-size: 0.9rem;
    text-align: center;
  }

  .btn-mobile-action.logout {
    color: #dc3545;
  }

  .btn-mobile-login {
    display: block;
    padding: 12px;
    background: var(--primary-navy);
    color: #fff;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: 600;
  }

  /* Grid Navigation - Naver Style */
  .mobile-grid-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 15px;
    margin-bottom: 25px;
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  .mobile-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .mobile-grid-item:active .icon-circle {
    transform: scale(0.93);
  }

  /* Pop colors for icons */
  .pop-color-1 {
    background: linear-gradient(135deg, #00C73C 0%, #00a832 100%);
  }

  .pop-color-2 {
    background: linear-gradient(135deg, #FF6B6B 0%, #ee5a5a 100%);
  }

  .pop-color-3 {
    background: linear-gradient(135deg, #4D96FF 0%, #3a7de8 100%);
  }

  .pop-color-4 {
    background: linear-gradient(135deg, #FFD93D 0%, #f5c800 100%);
    color: #333;
  }

  .pop-color-5 {
    background: linear-gradient(135deg, #6BCB77 0%, #52b85e 100%);
  }

  .pop-color-6 {
    background: linear-gradient(135deg, #9D4EDD 0%, #7b3db8 100%);
  }

  .mobile-grid-item span {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: #444;
  }

  /* CTA Button - Eye-catching Style */
  .btn-mobile-cta {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: #fff;
    text-align: center;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .btn-mobile-cta:active {
    transform: scale(0.98);
  }

  .btn-mobile-full {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-navy);
    color: #fff;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(10, 25, 47, 0.2);
  }

  .mobile-footer-links {
    padding: 0 5px;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .nav-links a {
    margin: 20px 0;
    font-size: 1.2rem;
    color: var(--primary-navy);
  }

  /* Hamburger Animation */
  .nav-toggle span.active:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle span.active:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle span.active:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}


/* Bottom Action Bar */
.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.bottom-action-bar.show {
  transform: translateY(0);
}

.action-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selected-count {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.action-desc {
  font-size: 0.9rem;
  color: #666;
  margin-left: 10px;
  font-weight: 400;
}

.action-btn {
  background: var(--primary-navy);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.action-btn:hover {
  background: #1a3a5e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* No Results Style */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  animation: fadeIn 0.5s ease;
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-results p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 25px;
}

/* Ensure mobile menu structure is hidden on desktop */
@media (min-width: 769px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}


/* [star-invite.html Styles] */
.star-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.star-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.star-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.15);
  /* Orange glow */
  border-color: var(--accent-gold);
}

.star-card.selected {
  border: 3px solid #FF8C00;
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.2);
  background-color: #fffbf0;
  transform: translateY(-10px);
  z-index: 10;
}

.star-card.selected::after {
  content: '✔';
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FF8C00;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.star-img-box {
  width: 100%;
  height: 240px;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

.star-card:hover .star-img {
  transform: scale(1.1);
}

/* Image Hover Overlay - 프로필 보기 */
.img-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.star-img-box:hover .img-hover-overlay {
  opacity: 1;
}

.star-info {
  padding: 20px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.star-info:hover {
  background-color: rgba(255, 140, 0, 0.1);
}

/* Select Hover Overlay - 강사 선택 */
.select-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 140, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 0 12px 12px;
}

.star-info:hover .select-hover-overlay {
  opacity: 1;
}

/* Overlay Text Style */
.overlay-text {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.star-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.star-cat {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.star-program {
  margin-top: 5px;
  font-size: 0.9em;
  color: #666;
}

.star-price-tag {
  display: inline-block;
  background: #f0f4ff;
  color: var(--primary-navy);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.detail-btn {
  width: 100%;
  padding: 10px 0;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.detail-btn:hover {
  background: #f8f8f8;
  border-color: #ccc;
}

/* Search & Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  padding: 12px 40px 12px 20px;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 15px;
  outline: none;
}

.search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
}

.category-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.cat-btn.active,
.cat-btn:hover {
  background: var(--primary-navy);
  color: #fff;
  border-color: var(--primary-navy);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  color: #666;
}

.page-btn.active {
  background: var(--primary-navy);
  color: #fff;
  border-color: var(--primary-navy);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .star-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .star-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: none;
  }

  .category-bar {
    overflow-x: auto;
    padding-bottom: 10px;
    white-space: nowrap;
  }
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0 120px;
  text-align: center;
  margin-bottom: 0;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* [star-invite-summary.html Styles] */
.summary-section {
  padding: 60px 0;
  min-height: 60vh;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.summary-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  gap: 20px;
  transition: all 0.3s;
}

.summary-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.summary-thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
}

.summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-info {
  flex: 1;
}

.summary-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1a1a1a;
}

.summary-cat {
  font-size: 0.95rem;
  color: #666;
}

.summary-price {
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 1.1rem;
  margin-right: 15px;
}

.remove-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: #e74c3c;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.remove-btn:hover {
  background: #fff5f5;
  border-color: #e74c3c;
}

.total-box {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eee;
}

.total-box strong {
  font-size: 1.5rem;
  color: var(--primary-navy);
}

@media (max-width: 768px) {
  .summary-item {
    flex-direction: column;
    text-align: center;
  }

  .total-box {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}



/* [index.html Styles] */
.intro-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.logo-large {
  margin-bottom: 2rem;
  animation: fadeInDown 1.5s ease;
}

.logo-large img {
  width: 250px;
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.enter-btn {
  padding: 15px 40px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
  animation: fadeInUp 1.5s ease;
  margin-bottom: 20px;
}

.enter-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

.intro-slogan {
  font-size: 1.1rem;
  opacity: 0.8;
  font-weight: 300;
  letter-spacing: 1px;
  animation: fadeInUp 1.5s ease 0.3s backwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* [curriculum.html Styles] */
.content-section {
  padding: 80px 0;
}

.program-detail-card {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.program-detail-card:nth-child(even) {
  flex-direction: row-reverse;
}

.detail-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.detail-content {
  flex: 1;
}

.detail-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-navy);
  font-weight: 700;
}

.detail-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.program-list {
  list-style: none;
  padding: 0;
}

.program-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  font-size: 1.05rem;
  color: #444;
}

.program-list li::before {
  content: '✔';
  color: var(--primary-navy);
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
  font-size: 1.1rem;
}



/* [contact.html Styles] */
.contact-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.contact-box {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-box h2 {
  font-size: 1.6rem;
  color: var(--primary-navy);
  margin-bottom: 25px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
}

.form-title {
  text-align: center;
  margin-bottom: 30px;
}

/* Page-Specific Header Backgrounds */
.page-header.header-curriculum {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/hero/hero-curriculum.png');
}

.page-header.header-contact {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1516387938699-a93567ec168e?auto=format&fit=crop&w=1920&q=80');
}

.page-header.header-summary {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/hero/hero-mypick.png');
}

.page-desc {
  font-size: 1.1rem;
  opacity: 0.9;
}



/* [main.html Styles] */
.training-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.training-col {
  flex: 1;
  min-width: 300px;
}

.training-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.training-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-navy);
}

.training-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

/* Mobile Menu Fix */
.nav-links.active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #eee;
}

.nav-links.active a {
  margin: 10px 0;
  color: #333;
}

/* Navbar Z-Index Fix */
.navbar {
  z-index: 1001;
}



/* Contact Info & Form in Training Section */
.contact-info {
  margin-top: 40px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
  font-size: 1.5rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.contact-info p {
  color: #666;
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 10px;
  color: #333;
}

.contact-list li strong {
  color: var(--primary-navy);
  margin-right: 10px;
}

.contact-form-wrap {
  margin-top: 30px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-form .form-group {
  flex: 1;
  margin-bottom: 0;
  /* Margin handled by row gap or individual group if not in row */
}

/* Mobile Stack */
@media (max-width: 768px) {
  .contact-form .form-row {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }

  .contact-form .form-group {
    margin-bottom: 15px;
  }
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  /* Darker label color as per image */
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fff;
  transition: all 0.3s ease;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background-color: #fff;
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 4px rgba(10, 25, 47, 0.08);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-navy);
  margin: 0;
}



/* [Hero Section Styles] */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  background: #000;
}

.hero-slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  color: #fff;
  z-index: 2;
  padding: 20px;
  max-width: 800px;
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.6;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
}

.prev-slide,
.next-slide {
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.prev-slide:hover,
.next-slide:hover {
  opacity: 1;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Scroll Down Animation */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin: -5px;
  animation: scrollArrow 1.5s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scrollWheel {
  0% {
    top: 10px;
    opacity: 1;
  }

  100% {
    top: 30px;
    opacity: 0;
  }
}

@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}



/* [Main Page - Instructors Section] */
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .instructor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .instructor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .instructor-grid {
    grid-template-columns: 1fr;
  }
}

.instructor-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.instructor-card:hover {
  transform: translateY(-10px);
}

.instructor-img-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

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

.instructor-card:hover .instructor-img-wrap img {
  transform: scale(1.1);
}

.instructor-info {
  padding: 20px;
  text-align: center;
}

.instructor-category {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.instructor-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.instructor-link {
  font-size: 0.9rem;
  color: #666;
  transition: color 0.3s;
}

.instructor-card:hover .instructor-link {
  color: var(--primary-navy);
}

/* [Main Page - Programs Section] */
.program-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .program-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.program-card {
  /* flex properties removed for grid */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-img-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

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

.program-card:hover .program-img-wrap img {
  transform: scale(1.1);
}

.program-content {
  padding: 30px;
  text-align: center;
}

.program-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-navy);
}

.program-content p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* [Navbar Styles] */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled,
.navbar.solid {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s;
}

.navbar.scrolled .nav-container,
.navbar.solid .nav-container {
  padding: 0.8rem 2rem;
}

.logo,
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar.scrolled .logo,
.navbar.solid .logo,
.navbar.scrolled .nav-logo,
.navbar.solid .nav-logo {
  color: var(--primary-navy);
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: filter 0.3s;
}

/* Invert logo to white on dark backgrounds (transparent navbar) */
.navbar:not(.scrolled):not(.solid) .logo img {
  filter: brightness(0) invert(1);
}

/* Reset filter on white navbar */
.navbar.scrolled .logo img,
.navbar.solid .logo img {
  filter: none;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
  text-decoration: none;
  transition: all 0.3s;
}

.navbar.scrolled .nav-links a,
.navbar.solid .nav-links a {
  color: var(--primary-navy);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-gold);
}

/* Button inside nav */
.nav-links .btn {
  padding: 10px 25px;
  border-radius: 50px;
  background: var(--primary-navy);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .nav-links .btn,
.navbar.solid .nav-links .btn {
  background: var(--primary-navy);
  color: #fff !important;
  border-color: transparent;
}

.nav-links .btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span,
.navbar.solid .nav-toggle span {
  background-color: var(--primary-navy);
}

/* [Instructor Overlay & Button Styles] */
.header-invite {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1544531586-fde5298cdd40?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.instructor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.7);
  /* Dark Navy Overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.star-card:hover .instructor-overlay {
  opacity: 1;
}

.star-info {
  padding: 20px;
  text-align: center;
}

.view-profile-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--primary-navy);
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 15px;
  width: 100%;
}

.view-profile-btn:hover {
  background: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.instructor-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 20px;
}

.instructor-tag {
  font-size: 0.8rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* [Modal Styles] */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary-navy);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* [Layout Adjustments] */
.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.mt-5 {
  margin-top: 3rem;
}

/* Site Footer Section */
.site-footer {
  width: 100%;
  background: #fff;
  margin-top: 20px;
}

.footer-top {
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.footer-nav a {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0 15px;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--primary-navy);
}

.footer-nav .divider {
  color: #ccc;
  font-size: 0.8rem;
}

.footer-bottom {
  background: #fff;
  padding: 30px 0 20px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo .logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4a7cb8;
  letter-spacing: 2px;
  font-family: 'Arial', sans-serif;
}

.footer-info-section {
  flex: 1;
}

.footer-info-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
}

.footer-info-section p {
  font-size: 0.85rem;
  color: #666;
  margin: 4px 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }

  .footer-nav .divider {
    display: none;
  }

  .footer-nav a {
    padding: 5px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-logo {
    display: none;
  }

  .footer-info-section {
    width: 100%;
  }

  /* 모바일 푸터 토글 버튼 */
  .footer-company-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 20px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
    background: #fff;
  }

  .footer-toggle-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #666;
  }

  .footer-company-toggle.open .footer-toggle-arrow {
    transform: rotate(180deg);
  }

  /* 접힌 상태의 회사 정보 */
  .footer-info-section.collapsed {
    display: none;
  }

  .footer-info-section {
    padding: 20px;
    border-top: none;
    background: #fafafa;
  }

  .footer-info-section h4 {
    display: none;
  }

  .footer-info-section p {
    font-size: 0.85rem;
    color: #666;
  }

  /* 정책 링크 스타일 */
  .footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
  }

  .footer-policy-links a {
    color: #888;
    font-size: 0.8rem;
    text-decoration: none;
  }

  .footer-policy-links span {
    color: #ddd;
  }
}

/* PC에서는 토글 버튼 숨김 */
@media (min-width: 769px) {
  .footer-company-toggle {
    display: none;
  }
}

/* [Modal Form Improvements] */
.modal-body .form-group {
  margin-bottom: 20px;
}

.modal-body label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 0.95rem;
}

.modal-body input[type="text"],
.modal-body input[type="tel"],
.modal-body textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Noto Sans KR', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: #fff;
}

.modal-body input:focus,
.modal-body textarea:focus {
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
  outline: none;
}

.modal-body textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: 10px;
}

.form-submit:hover {
  background-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* [Hero Slider Styles] */
.hero {
  position: relative;
  height: 600px;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.hero-slider {
  height: 100%;
  width: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Dark overlay for readability */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  color: #fff;
  z-index: 3;
  padding: 20px;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.prev-slide,
.next-slide {
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
  user-select: none;
}

.prev-slide:hover,
.next-slide:hover {
  color: #fff;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.slider-dot.active {
  background-color: #fff;
  transform: scale(1.2);
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Scroll Down Indicator */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.8;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  margin-bottom: 10px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin: -5px;
  animation: scrollArrow 1.5s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scrollWheel {
  0% {
    top: 10px;
    opacity: 1;
  }

  100% {
    top: 30px;
    opacity: 0;
  }
}

@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* [Features Section] */
.features {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-gold);
}

.feature-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4ff;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
  background: var(--primary-navy);
}

.feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.feature-card:hover .feature-icon {
  filter: brightness(0) invert(1);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-navy);
}

.feature-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* New Feature Card with Image */
.feature-card-new {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.feature-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-gold);
}

.feature-card-img {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

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

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

.feature-card-body {
  padding: 25px;
  text-align: left;
}

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .features {
    padding: 60px 0;
  }

  .feature-card-img {
    height: 200px;
  }

  .feature-card-title {
    font-size: 1.2rem;
  }
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 30px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.2);
}

/* Tab Content Visibility */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: flex;
  /* Restore flex display for active content */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tab-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* [Premium Curriculum Page Styles] */

/* Premium Header */
.premium-header {
  padding: 40px 0 60px;
  text-align: center;
  background: linear-gradient(to bottom, #f8f9fa, #fff);
}

.premium-label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.premium-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.premium-desc {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Redesigned Tab Navigation */
.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 15px 40px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #888;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
}

.tab-btn i {
  font-size: 1.2rem;
}

.tab-btn:hover {
  border-color: var(--primary-navy);
  color: var(--primary-navy);
}

.tab-btn.active {
  background: var(--primary-navy);
  border-color: var(--primary-navy);
  color: #fff;
  box-shadow: 0 10px 20px rgba(10, 25, 47, 0.2);
  transform: translateY(-2px);
}

/* Split Layout Content */
.program-content-wrapper {
  display: none;
  /* Hidden by default, toggled by JS */
  flex-direction: row;
  align-items: center;
  gap: 60px;
  padding-bottom: 60px;
}

.program-content-wrapper.active {
  display: flex;
  animation: fadeIn 0.6s ease;
}

.program-text-col {
  flex: 1;
}

.program-img-col {
  flex: 1;
  position: relative;
}

/* Text Column Styles */
.program-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.program-main-desc {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.7;
}

.program-main-desc strong {
  color: var(--primary-navy);
  font-weight: 700;
}

/* Feature Cards List */
.program-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-navy);
  border-radius: 4px 0 0 4px;
}

.feature-card:nth-child(2)::before {
  background: var(--primary-navy);
  /* Can vary colors if needed */
}

.feature-card:nth-child(3)::before {
  background: var(--accent-gold);
}

.feature-card:hover {
  transform: translateX(5px);
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  background: #f0f4f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-card:nth-child(3) .feature-icon-box {
  background: #fff8e1;
  color: var(--accent-gold);
}

.feature-text {
  text-align: left;
}

.feature-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 5px;
}

.feature-text p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* Image Column Styles */
.img-wrapper {
  position: relative;
  border-radius: 30px 0 30px 30px;
  /* Unique shape */
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

/* Floating Card */
.floating-card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: #fff;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.floating-icon {
  font-size: 2rem;
  color: #ff4757;
  /* Heart color */
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-text span {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 2px;
}

.floating-text strong {
  font-size: 1.1rem;
  color: var(--primary-navy);
  font-weight: 800;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .program-content-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .premium-title {
    font-size: 2rem;
  }

  .img-wrapper {
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .tab-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .feature-card {
    padding: 20px;
  }
}

/* Curriculum Header Adjustment to match Star Invite height */
.page-header.header-curriculum {
  padding: 85px 0;
}

/* Featured Instructors Hero Slider Section */
.featured-hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.featured-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.featured-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.featured-slide.active {
  opacity: 1;
}

.featured-slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  height: 100%;
  padding: 40px 80px;
  box-sizing: border-box;
}

.featured-slide-info {
  flex: 1;
  max-width: 500px;
  color: white;
  text-align: left;
}

.featured-slide-img-box {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.featured-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-slide-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #5c4800;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.featured-slide-name {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.featured-slide-program {
  font-size: 1.4rem;
  opacity: 0.95;
  margin-bottom: 10px;
}

.featured-slide-category {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 30px;
}

.featured-slide-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #5c4800;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.featured-slide-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5);
}

.featured-slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.featured-prev-slide,
.featured-next-slide {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.featured-prev-slide:hover,
.featured-next-slide:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.featured-slider-dots {
  display: flex;
  gap: 10px;
}

.featured-slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.featured-slider-dots .dot.active {
  background: #ffd700;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.featured-slider-dots .dot:hover {
  background: rgba(255, 215, 0, 0.7);
}

@media (max-width: 768px) {
  .featured-hero-slider {
    height: auto;
    min-height: 450px;
  }

  .featured-slide-inner {
    flex-direction: column-reverse;
    padding: 30px 20px;
    gap: 25px;
  }

  .featured-slide-info {
    text-align: center;
    max-width: 100%;
  }

  .featured-slide-img-box {
    width: 180px;
    height: 180px;
  }

  .featured-slide-name {
    font-size: 1.6rem;
  }

  .featured-slide-program {
    font-size: 1rem;
  }

  .featured-slide-category {
    font-size: 0.9rem;
  }

  .featured-slide-btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  .featured-slider-controls {
    bottom: 15px;
  }

  .featured-prev-slide,
  .featured-next-slide {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Selected Instructors List in Bottom Bar */
.selected-instructors-list {
  margin-bottom: 10px;
}

.selected-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.selected-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(10, 25, 47, 0.2);
}

.selected-item-name {
  color: var(--primary-navy);
  font-weight: 600;
}

.selected-item-time {
  color: var(--primary-navy);
  font-size: 0.8rem;
  opacity: 0.8;
}

.selected-item-remove {
  background: rgba(10, 25, 47, 0.2);
  border: none;
  color: var(--primary-navy);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.selected-item-remove:hover {
  background: rgba(255, 100, 100, 0.8);
  color: #fff;
}

/* Timetable Modal Styles */
.timetable {
  border-collapse: collapse;
  width: 100%;
}

.timetable th,
.timetable td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.timetable th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.timetable .slot {
  background: #fff;
  transition: all 0.2s;
}

.timetable .slot:hover:not(.booked):not(.conflict) {
  background: #fff3e0;
}

.timetable .slot.selected {
  background: #ff9800;
  color: #fff;
  font-weight: 700;
}

.timetable .slot.booked {
  background: #e0e0e0;
  color: #999;
  text-decoration: line-through;
}

.timetable .slot.conflict {
  background: #ffebee;
  color: #c62828;
  font-weight: 600;
}

.timetable .break-row td {
  background: #f5f5f5;
  color: #888;
  font-size: 0.85rem;
}

/* --- Header User Profile --- */
.user-greeting {
  display: inline-flex;
  align-items: center;
  margin-left: 15px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.user-greeting img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 8px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Profile Link Styles */
.profile-link {
  color: #fff !important;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Standardize gap */
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.profile-name {
  font-size: 14px;
  font-weight: 700;
}

.profile-mypage {
  font-size: 12px;
}

.profile-link:hover {
  opacity: 1;
}

.profile-link:hover .profile-name,
.profile-link:hover .profile-mypage {
  color: #c5a059 !important;
  /* Gold on hover */
}

/* Navbar Scrolled & Static Dark Overrides */
.navbar.scrolled .user-greeting,
.navbar.navbar-dark-static .user-greeting {
  color: #333;
}

.navbar.scrolled .profile-link,
.navbar.navbar-dark-static .profile-link {
  color: #0a192f !important;
}

.navbar.scrolled .user-greeting img,
.navbar.navbar-dark-static .user-greeting img {
  border-color: #ddd;
}

.btn-logout {
  margin-left: 10px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.1);
}

.btn-logout:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

/* Navbar Scrolled State - 스크롤 시 어두운 텍스트 */
.navbar.scrolled .btn-logout {
  color: #333;
  border-color: #ddd;
  background: #f5f5f5;
}

.navbar.scrolled .btn-logout:hover {
  background-color: #e0e0e0;
  color: #333;
  border-color: #bbb;
}

/* Navbar Scrolled State Fix */
.navbar.scrolled .user-greeting {
  color: #0a192f;
}

/* Navbar Static Dark (For white pages like My Page) */
.navbar.navbar-dark-static {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  padding: 15px 0;
}

.navbar.navbar-dark-static .nav-links a {
  color: var(--primary-navy);
}

.navbar.navbar-dark-static .user-greeting {
  color: #0a192f;
}

.navbar.navbar-dark-static .btn-logout {
  color: #333;
  border-color: #ddd;
  background: #f5f5f5;
}

.navbar.navbar-dark-static .btn-login-header {
  background: #f5f5f5;
  color: #333 !important;
  border-color: #ddd;
}

.navbar.navbar-dark-static .nav-links .btn.btn-primary {
  background: #0a192f !important;
  color: #fff !important;
  border-color: #0a192f !important;
}

.navbar.navbar-dark-static .nav-toggle span {
  background-color: var(--primary-navy);
}

/* --- Header Login Button --- */
.btn-login-header {
  margin-left: 10px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-login-header:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .btn-login-header {
  background: #f5f5f5;
  color: #333 !important;
  border-color: #ddd;
}

.navbar.scrolled .btn-login-header:hover {
  background: #e0e0e0;
  border-color: #bbb;
}

/* --- Header 시범수업신청 Button --- */
.nav-links .btn.btn-primary {
  margin-left: 10px;
  padding: 6px 12px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 4px !important;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links .btn.btn-primary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: none;
}

.navbar.scrolled .nav-links .btn.btn-primary {
  background: #0a192f !important;
  color: #fff !important;
  border-color: #0a192f !important;
}

.navbar.scrolled .nav-links .btn.btn-primary:hover {
  background: #1a3a5e !important;
  border-color: #1a3a5e !important;
}

/* --- Blur Content for Non-Logged-In --- */
.blur-content {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.login-required-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.login-required-box {
  background: white;
  padding: 50px 60px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 450px;
}

.login-required-box h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0a192f;
  margin-bottom: 15px;
}

.login-required-box p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.login-required-box .btn-login-large {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, #0a192f, #1a365d);
  color: white;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.login-required-box .btn-login-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.3);
}

/* --- Locked Button Style --- */
.btn-locked {
  background-color: #ccc !important;
  border-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  position: relative;
}

.btn-locked::before {
  content: "🔒 ";
}