/* ==========================================================================
   NASTRA - PT NAJAH SOLUTIONS GROUP
   Modern Design System & Style Guidelines (Vanilla CSS)
   ========================================================================== */

:root {
  /* Colors */
  --primary-color: #002346;                 /* Logo Deep Navy */
  --primary-light: #0d3861;                 /* Lighter Navy */
  --secondary-color: #0f693f;               /* Logo Safety Green */
  --accent-color: #12804d;                  /* Brand Active Green */
  --accent-light: #eef8f3;                  /* Soft Green Background Tint */
  
  --bg-primary: hsl(210, 40%, 98%);        /* Clean Ice White */
  --bg-secondary: hsl(210, 30%, 95%);      /* Warm Light Gray */
  --bg-dark: hsl(210, 60%, 8%);            /* Rich Night Navy */
  --bg-dark-card: hsl(210, 50%, 12%);      /* Dark Glass Background */
  
  --text-primary: hsl(215, 45%, 15%);      /* Charcoal Slate */
  --text-secondary: hsl(215, 20%, 45%);    /* Steel Gray */
  --text-light: hsl(210, 40%, 98%);        /* Pure White/Ice */
  
  --border-color: rgba(226, 232, 240, 0.8);
  --border-focus: #0f693f;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(10, 25, 47, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(10, 25, 47, 0.12);
  --shadow-glow: 0 0 20px rgba(18, 128, 77, 0.25);
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Layout */
  --container-width: 1280px;
}

/* ==========================================================================
   1. Reset & Global Styles
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-secondary);
}

.bg-dark {
  background-color: var(--bg-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--text-secondary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* ==========================================================================
   2. Typography & Core Components
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-color);
}

.text-white {
  color: var(--text-light);
}

.text-accent {
  color: var(--accent-color);
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-color);
  background-color: hsl(205, 90%, 94%);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.badge-accent {
  color: var(--accent-color);
  background-color: var(--accent-light);
}

.section-title {
  font-size: 36px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 50px auto;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: #0c5432;
  transform: translateY(-2px);
}

.btn-glow:hover {
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.w-full {
  width: 100%;
}

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

.inline-block {
  display: inline-block;
}

.mr-1 {
  margin-right: 4px;
}

.mt-3 {
  margin-top: 12px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-6 {
  margin-top: 24px;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   3. Layout Structure
   ========================================================================== */

/* Top Ribbon Bar */
.top-bar {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}

.top-bar-item:hover {
  opacity: 1;
}

.icon-sm {
  width: 14px;
  height: 14px;
}

.top-bar-right a {
  opacity: 0.8;
}

.top-bar-right a:hover {
  opacity: 1;
  color: var(--accent-color);
}

/* Sticky Header */
.header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-fast);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 5em;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition-fast);
}

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

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-fast);
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   4. Hero Section & Stats Banner
   ========================================================================== */

.hero {
  position: relative;
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 10% 20%, rgba(10, 25, 47, 0.9) 0%, rgba(10, 20, 30, 0.95) 100%);
  color: var(--text-light);
  overflow: hidden;
  padding: 120px 0 100px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 105, 163, 0.08) 0%, rgba(240, 90, 40, 0.05) 100%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  color: var(--accent-color);
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Visual Card */
.hero-visual .hero-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 32, 54, 0.6);
  color: var(--text-light);
  padding: 32px;
}

.hero-card .card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: hsl(120, 80%, 45%);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: hsl(120, 80%, 45%);
  border-radius: var(--radius-full);
  display: inline-block;
  animation: pulse 1.8s infinite;
}

.hero-card h3 {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.hero-card-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.hero-card-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-color);
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* Stats Banner Row */
.stats-banner {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stat-icon-wrapper {
  background-color: var(--accent-light);
  color: var(--accent-color);
  padding: 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.stat-card h4 {
  font-size: 15px;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.stat-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   5. About Us Section
   ========================================================================== */

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-visual {
  position: relative;
}

.visual-stack {
  position: relative;
  height: 480px;
}

.about-img-placeholder {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 700;
  text-align: center;
}

.main-img {
  width: 80%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.accent-img {
  width: 60%;
  height: 260px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #0c5432 100%);
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  border: 4px solid var(--bg-primary);
}

.visual-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.visual-icon-sm {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-secondary);
}

.about-points {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.point-item {
  display: flex;
  gap: 16px;
}

.point-icon {
  width: 24px;
  height: 24px;
  background-color: hsl(120, 80%, 92%);
  color: hsl(120, 80%, 25%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.point-icon svg {
  width: 14px;
  height: 14px;
}

.point-item h5 {
  font-size: 15px;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.point-item p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   6. Program Grid & Details Drawer
   ========================================================================== */

.program-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background-color: var(--bg-secondary);
  color: var(--primary-color);
}

.tab-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}

/* Program Cards Grid */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.program-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 90, 40, 0.15);
}

.program-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.program-icon-box {
  background-color: var(--accent-light);
  color: var(--accent-color);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-icon-box svg {
  width: 24px;
  height: 24px;
}

.cert-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.program-card h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 12px;
  line-height: 1.35;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.program-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.program-meta-item svg {
  width: 14px;
  height: 14px;
}

.program-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.program-card-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.program-card-price {
  font-size: 12px;
  color: var(--text-secondary);
}

.price-accent {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
}

/* ==========================================================================
   7. Schedule Filter & Search Tool
   ========================================================================== */

.schedule-controls {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  padding: 24px;
  margin-bottom: 30px;
  border-color: var(--border-color);
}

.search-input-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

#schedule-search {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px 14px 48px;
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

#schedule-search:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(11, 105, 163, 0.1);
}

.select-wrapper select, .select-custom-wrapper select {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
  transition: var(--transition-fast);
}

.select-wrapper select:focus, .select-custom-wrapper select:focus {
  border-color: var(--border-focus);
}

/* Responsive Table */
.schedule-table-wrapper {
  overflow-x: auto;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  min-width: 1100px;
}

.schedule-table th {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: 700;
  padding: 18px 12px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.schedule-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 500;
  color: var(--text-primary);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:nth-child(even) {
  background-color: var(--bg-secondary);
}

.schedule-table tr:hover {
  background-color: hsl(205, 90%, 96%);
}

.schedule-table .place-cell {
  font-weight: 700;
  color: var(--secondary-color);
}

.schedule-table .date-cell {
  text-align: center;
  padding: 10px 4px;
  vertical-align: middle;
}

.schedule-date-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.schedule-date-pill {
  display: inline-block;
  background-color: var(--accent-light, #eef8f3);
  color: var(--secondary-color, #0f693f);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(15, 105, 63, 0.15);
  box-shadow: 0 1px 2px rgba(10, 25, 47, 0.05);
  transition: var(--transition-fast);
}

.schedule-date-pill:hover {
  transform: translateY(-1px) scale(1.05);
  background-color: var(--secondary-color);
  color: #ffffff;
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.schedule-table .date-cell-empty {
  color: var(--text-secondary);
  opacity: 0.35;
  font-weight: 500;
  font-size: 13px;
}

.schedule-legend {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   8. Registration Form
   ========================================================================== */

.registration-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.registration-info .section-badge {
  margin-bottom: 24px;
}

.registration-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
}

.info-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.info-item h6 {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.info-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.registration-form-wrapper {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  color: var(--text-light);
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}

.form-group input {
  background-color: rgba(10, 25, 47, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-light);
  outline: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

.form-group input:focus {
  border-color: var(--accent-color);
  background-color: rgba(10, 25, 47, 0.5);
  box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.15);
}

.select-custom-wrapper select {
  background-color: rgba(10, 25, 47, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.select-custom-wrapper select option {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-color);
}

.checkbox-group label {
  text-transform: none;
  font-weight: 500;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0;
  cursor: pointer;
}

/* ==========================================================================
   9. Contact Details & Maps
   ========================================================================== */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-intro {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.method-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-fast);
}

.method-card:hover {
  border-color: var(--border-focus);
}

.method-icon {
  background-color: var(--accent-light);
  color: var(--accent-color);
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-icon svg {
  width: 20px;
  height: 20px;
}

.method-card h5 {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.method-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Map Mockup */
.contact-map {
  display: flex;
}

.map-placeholder {
  width: 100%;
  background: linear-gradient(135deg, hsl(210, 30%, 93%) 0%, hsl(210, 20%, 88%) 100%);
  border-color: var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.map-icon-wrapper {
  background-color: var(--bg-primary);
  color: var(--secondary-color);
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.map-icon {
  width: 28px;
  height: 28px;
}

.map-placeholder h5 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.map-placeholder p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   10. Footer Section
   ========================================================================== */

.footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px 0;
  border-top: 4px solid var(--accent-color);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 5em;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: var(--transition-fast);
}

.footer-logo:hover .footer-logo-img {
  opacity: 1;
  transform: scale(1.03);
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-copyright {
  font-size: 11px;
  opacity: 0.6;
}

.footer-links-col h5 {
  color: var(--text-light);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-links span {
  font-size: 13px;
  display: block;
  opacity: 0.8;
}

/* ==========================================================================
   11. Dialogs & Interactive Modals
   ========================================================================== */

/* Drawer Modal Overlay */
.modal-overlay, .success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active, .success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Content Container (Drawer slide-in) */
.modal-content {
  width: 100%;
  max-width: 600px;
  height: 100%;
  background-color: var(--bg-primary);
  border-radius: 0;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  padding: 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: translateX(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: var(--bg-secondary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
}

/* Drawer Inner Styling */
.modal-body {
  margin-top: 20px;
}

.modal-body h2 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.modal-body-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.modal-body-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.modal-body h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  margin-bottom: 12px;
  margin-top: 24px;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
}

.modal-list-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Success Modal Overlay (Centered Modal) */
.success-overlay {
  justify-content: center;
  align-items: center;
}

.success-card {
  max-width: 440px;
  width: 90%;
  padding: 40px;
}

.success-overlay.active .success-card {
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon-wrapper {
  color: hsl(120, 80%, 45%);
  margin-bottom: 20px;
  display: inline-flex;
}

.success-icon {
  width: 56px;
  height: 56px;
}

.success-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.success-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Floating Actions */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 99;
}

.scroll-to-top.active {
  opacity: 0.9;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--accent-color);
  opacity: 1;
}

/* ==========================================================================
   12. Keyframes Animations
   ========================================================================== */

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

@keyframes modalPop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   13. Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-container, .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual {
    order: 2;
  }
  .visual-stack {
    height: 380px;
  }
  .main-img {
    width: 100%;
    height: 340px;
  }
  .registration-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav {
    display: none; /* Mobile menu drawer triggered */
  }
  .header-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 36px;
  }
  .section-title {
    font-size: 28px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .schedule-controls {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .registration-form-wrapper {
    padding: 24px;
  }
  .modal-content {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Drawer overlay / navigation display */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  width: 280px;
  height: 100%;
  background-color: var(--bg-primary);
  padding: 30px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0,0,0,0.1);
}

.mobile-nav-overlay.active .mobile-nav {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
}

.mobile-nav-link:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   Gallery Section Styles
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 35, 70, 0.95) 0%, rgba(0, 35, 70, 0.4) 70%, transparent 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.9;
  transition: var(--transition-fast);
}

.gallery-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.gallery-item-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}
