:root {
  --primary: #001f51;
  --secondary: #001f51;
  --accent: #c19c59;
  --light-green: #c19c59;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --text: #333333;
  --muted: #666666;
  --light: #E8EEF5;
  --border: #D0D8E0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAVBAR */
.nav {
  background: transparent;
  border-bottom: 2px solid transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.brand .logo {
  height: 48px;
  transition: transform 0.3s ease;
}

.brand:hover .logo {
  transform: scale(1.05);
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.menu a:hover {
  color: var(--accent);
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu a.cta {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu a.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 194, 178, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #000;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* HERO SECTION */
.hero {
  padding: 16px;
  padding-top: 112px;
  padding-bottom: 72px;
  position: relative;
  background: linear-gradient(rgba(0, 31, 81, 0.56), rgba(0, 31, 81, 0.56)), url('Banner.png') center/cover no-repeat;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: block;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
  animation: slideInLeft 0.8s ease;
  max-width: 920px;
}

.subtitle {
  font-size: 18px;
  color: var(--accent);
  margin: 0 0 8px;
  font-weight: 500;
}

.event-dates {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 24px;
  font-weight: 500;
}

.meta {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  color: #fff;
  max-width: 620px;
}

.meta li {
  margin: 8px 0;
  font-size: 15px;
  animation: slideInLeft 0.8s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  min-width: 140px;
  height: 48px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 31, 81, 0.3);
}

.btn.outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn.outline:hover {
  background: var(--accent);
  color: #fff;
}

/* Timer Card */
.hero-side {
  animation: slideInRight 0.8s ease;
}

.timer-section {
  padding: 20px 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  text-align: center;
}

.timer-strip {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: auto;
  flex-wrap: nowrap;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.timer-title {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown {
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  color: #fff;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.countdown { white-space: nowrap; }

.tz {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

/* PROGRAM SECTION */
.program {
  padding: 60px 16px;
  background: #fff;
}

.featured-by,
.about {
  padding: 56px 16px;
  background: #fff;
}

.featured-by-inner,
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-by h2,
.about h2 {
  font-size: 32px;
  margin: 0 0 20px;
  color: var(--primary);
  text-align: center;
}

.featured-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: center;
}

.featured-logo {
  display: block;
  width: 250px;
  height: 120px;
  max-width: none;
  object-fit: contain;
}

.featured-by h2,
.about h2 {
  color: var(--primary);
}

.about-hero {
  display: flex;
  position: relative;
  min-height: 240px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 32px;
  background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  margin-bottom: 24px;
  border-radius: 22px;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 81, 0.58);
}

.about-hero h2,
.about-hero p {
  position: relative;
  z-index: 1;
  color: #fff;
}

.about-hero h2 {
  margin-bottom: 8px;
}

.about-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
}

.about-card {
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid var(--border);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
  padding: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.about-content h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 24px;
}

.about-content p {
  color: var(--text);
  margin-bottom: 18px;
}

.about-list {
  display: grid;
  gap: 14px;
}

.about-item {
  background: #fff;
  border: 1px solid var(--light);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 14px 16px;
}

.about-item h4 {
  margin: 0 0 4px;
  color: var(--secondary);
}

.about-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-image img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  min-height: 360px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.program-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.program h2,
.details h2,
.speakers h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--primary);
  text-align: center;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.learning-outcomes {
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.05), rgba(0, 194, 178, 0.05));
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 40px;
  border-left: 4px solid var(--accent);
}

.learning-outcomes h3 {
  margin-top: 0;
  color: var(--primary);
}

.learning-outcomes ul {
  margin: 0;
  padding-left: 24px;
}

.learning-outcomes li {
  margin: 12px 0;
  color: var(--text);
}

.schedule {
  margin-top: 40px;
}

.schedule h3 {
  color: var(--primary);
  margin-bottom: 24px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.schedule-item {
  background: var(--card);
  border: 2px solid var(--light);
  padding: 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.schedule-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 194, 178, 0.15);
  transform: translateY(-4px);
}

.schedule-item h4 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 16px;
}

.schedule-item ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.schedule-item li {
  margin: 8px 0;
  font-size: 14px;
  color: var(--text);
}

.schedule-item .date {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  margin: 0;
}

/* DETAILS SECTION */
.details {
  padding: 60px 16px;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.02), rgba(0, 194, 178, 0.02));
}

.details-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.details-image {
  position: relative;
}

.details-image img {
  width: 100%;
  max-width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.15);
  border: 3px solid var(--accent);
}

.attendees-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.attendees-list li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  color: var(--text);
  font-size: 15px;
}

.attendees-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

.highlight-box {
  background: var(--card);
  border: 2px solid var(--accent);
  padding: 24px;
  border-radius: 8px;
  margin-top: 24px;
}

.highlight-box h3 {
  margin-top: 0;
  color: var(--primary);
}

.highlight-box p {
  margin: 12px 0;
  font-size: 14px;
  color: var(--text);
}

/* SPEAKERS SECTION */
.speakers {
  padding: 60px 16px;
  background: #fff;
}

.speakers-container {
  max-width: 1200px;
  margin: 0 auto;
}

.speakers-intro {
  font-size: 16px;
  color: var(--muted);
  margin: 12px 0 32px;
  text-align: center;
}

.speakers-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.speakers-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}

.speakers-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.speakers-track::-webkit-scrollbar {
  display: none;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10, 37, 64, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-arrow:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.speaker-card {
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 250px;
  flex: 0 0 250px;
  scroll-snap-align: start;
}

.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 194, 178, 0.2);
}

.speaker-card.featured {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(27, 94, 32, 0.2);
  border: 2px solid var(--accent);
  z-index: 10;
}

.speaker-card.featured:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 194, 178, 0.3);
}

.speaker-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.speaker-card.featured img {
  height: 300px;
}

.speaker-info {
  padding: 16px;
}

.speaker-info h3 {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 16px;
}

.speaker-info .title {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.program-highlights-end {
  padding: 0 16px 28px;
}

.program-highlights-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* FOOTER */
.site-footer {
  background: var(--secondary);
  color: #fff;
  padding: 40px 16px 20px;
  margin-top: 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--accent);
  margin-top: 0;
  font-size: 16px;
}

.footer-col p {
  margin: 8px 0;
  font-size: 14px;
  opacity: 0.9;
}

.footer-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.footer-tagline {
  max-width: 420px;
}

.footer-link {
  color: #fff;
  opacity: 0.9;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.footer-link:hover {
  color: var(--accent);
  opacity: 1;
}

.cpd-logo {
  height: 40px;
  margin-top: 12px;
}

.footer-logos {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  align-items: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
  margin: 0;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--card);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--primary);
}

.modal h2 {
  margin-top: 0;
  color: var(--primary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 166, 166, 0.1);
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 8px;
}

.form-group.checkbox label {
  margin: 0;
  display: flex;
  align-items: center;
}

/* ANIMATIONS */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .menu-toggle span {
    background: #000;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .menu.active {
    max-height: 400px;
    padding: 16px;
    border-bottom: 1px solid var(--light);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .hero-inner,
  .details-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .featured-logos,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    min-height: 240px;
  }

  .speakers-carousel {
    grid-template-columns: 1fr;
  }

  .slider-arrow {
    display: none;
  }

  .speakers-track {
    padding-bottom: 8px;
  }

  .timer-strip {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .modal-content {
    max-width: 90%;
  }

  .nav {
    background: transparent;
  }

  .menu a {
    color: var(--primary);
  }
}
