/* =============================================
   TABLE OF CONTENTS
   1. Variables & Base Styles
   2. Layout & Containers
   3. Navigation
   4. Hero Section
   5. Cards & Grids
   6. Speaker Cards
   7. Workshop Section
   8. Registration & Countdown
   9. Venue & Transportation
   10. Team & Contact
   11. Carousel & Media
   12. Footer
   13. Abstract Overlay
   14. Responsive Styles
   ============================================= */

/* ----- 1. VARIABLES & BASE STYLES ----- */
:root {
  --primary: #eb2525;
  --primary-hover: #d81d1d;
  --dark: #333;
  --light: #f9f9f9;
  --text: #444;
  --text-light: #666;
  --border: #eaeaea;
  --shadow-sm: 0 3px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 5px 20px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 15px;
  --radius-xl: 30px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Geist', Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* ----- 2. LAYOUT & CONTAINERS ----- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 70px 0;
}

.section-title {
  position: relative;
  font-size: 3rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

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

/* ----- BUTTONS & LINKS ----- */
.cta-button, .table-register-btn, .submit-btn, .register-button, .scholarship-btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-xl);
  transition: background-color 0.3s, transform 0.2s;
  text-align: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 10px rgba(235, 37, 37, 0.3);
}

.cta-button, .table-register-btn {
  font-size: 1.1rem;
  padding: 12px 30px;
}

.cta-button:hover, .register-button:hover, .table-register-btn:hover, .submit-btn:hover, .scholarship-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* ----- 3. NAVIGATION ----- */
.main-nav {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  position: relative;
  margin-left: 25px;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  padding: 5px 0;
  transition: color 0.3s;
}

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

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 180px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 8px 15px;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
}

/* ----- 4. HERO SECTION ----- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/industrial.jpg') center/cover no-repeat;
  filter: blur(4px);
  z-index: -1;
}

.hero-content {
  background-color: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 700px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 15px;
  text-align: center;
  line-height: 1.2;
}

.hero h1 sup {
  font-size: 40%;
  top: -0.7em;
  font-weight: 600;
  margin-right: 2px;
}

.event-info {
  margin-bottom: 20px;
}

.date, .workshop-note {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 8px;
}

/* Hero Timer Box */
.hero-timer-box {
  margin: 15px 0;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(235, 37, 37, 0.15);
}

.countdown-title {
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.hero-timer-box .countdown-timer {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.hero-timer-box .countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 10px 5px;
  box-shadow: var(--shadow-sm);
}

.hero-timer-box .countdown-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-timer-box .countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-top: 5px;
  font-weight: 600;
  color: var(--dark);
}

.hero-timer-box .countdown-separator {
  display: none;
}

/* ----- PROGRAM SECTION STYLES ----- */
.program-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.program-section::before {
    display: none;
}

.program-section .container {
    position: relative;
    z-index: 1;
}

.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

.day-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(235, 37, 37, 0.08);
    position: relative;
}

.day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, #ff6b6b 50%, var(--primary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.day-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(235, 37, 37, 0.12);
}

.day-card:hover::before {
    opacity: 1;
}

.day-header {
    background: linear-gradient(135deg, var(--primary) 0%, #d81d1d 100%);
    color: white;
    padding: 18px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.day-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: transform 0.6s ease;
}

.day-card:hover .day-header::before {
    transform: scale(2);
}

.day-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.day-date {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

/* Modern Table Design - Remove unused table styles */

/* Schedule Entry Styling */
.schedule-entry {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    position: relative;
    min-height: 45px;
}

.schedule-entry:hover {
    background: linear-gradient(135deg, rgba(235, 37, 37, 0.02) 0%, rgba(255, 107, 107, 0.02) 100%);
    transform: translateX(3px);
}

.schedule-entry:last-child {
    border-bottom: none;
}

.time-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #d81d1d 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(235, 37, 37, 0.2);
    margin-right: 15px;
    flex-shrink: 0;
}

.session-content {
    flex: 1;
    padding-left: 5px;
}

.session-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 2px;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.session-speakers {
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.session-chair {
    font-style: italic;
    color: #666;
    font-size: 0.7em;
    margin: 2px 0 8px 0;
}

/* Special Event Styling - Toned Down */
.break-entry {
    background: #fafafa;
    border-left: 3px solid #ddd;
}

.break-entry .time-badge {
    background: #f5f5f5;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.break-entry .session-title {
    color: #666;
}

.meal-entry {
    background: #f8f9fa;
    border-left: 3px solid #ccc;
}

.meal-entry .time-badge {
    background: #e9ecef;
    color: #495057;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.meal-entry .session-title {
    color: #495057;
}

/* Event Type Icons - Subtle */
.session-content::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ddd;
}

.break-entry .session-content::before {
    background: #ccc;
}

.meal-entry .session-content::before {
    background: #bbb;
}

/* Lightning Talks Special Styling - Toned Down */
.lightning-entry {
    background: #fafafa;
    border-left: 3px solid #ddd;
}

.lightning-entry .time-badge {
    background: #f0f0f0;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lightning-entry .session-title {
    color: #555;
}

.lightning-entry .session-content::before {
    background: #aaa;
}

/* Panel Discussion Styling - Toned Down */
.panel-entry {
    background: #f8f9fa;
    border-left: 3px solid #ccc;
}

.panel-entry .time-badge {
    background: #e9ecef;
    color: #495057;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.panel-entry .session-title {
    color: #495057;
}

.panel-entry .session-content::before {
    background: #999;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .program-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .program-grid {
        gap: 20px;
        margin-top: 25px;
    }
    
    .day-header {
        padding: 18px 20px;
    }
    
    .day-title {
        font-size: 1.6rem;
    }
    
    .day-date {
        font-size: 0.9rem;
    }
    
    .schedule-entry {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 18px;
    }
    
    .time-badge {
        margin-right: 0;
        margin-bottom: 8px;
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .session-content {
        padding-left: 0;
        width: 100%;
    }
    
    .session-title {
        font-size: 0.9rem;
    }
    
    .session-speakers {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .program-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px -10px 0;
    }
    
    .day-card {
        border-radius: 12px;
    }
    
    .day-header {
        padding: 15px 18px;
    }
    
    .day-title {
        font-size: 1.4rem;
    }
    
    .schedule-entry {
        padding: 12px 15px;
    }
    
    .time-badge {
        font-size: 0.75rem;
        padding: 4px 8px;
        min-width: 60px;
    }
    
    .session-title {
        font-size: 0.85rem;
    }
    
    .session-speakers {
        font-size: 0.7rem;
    }
}
/* ----- 5. CARDS & GRIDS ----- */

.presentation-resources {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.resource-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  gap: 6px;
}

.slides-btn, .video-btn {
  /* Uses the original red (rgb(235, 37, 37)) but with 85% opacity */
  background: rgba(235, 37, 37, 0.70);
  color: white;
  /* transition: background-color 0.3s, transform 0.2s; /* Ensure smooth transition */
}

.slides-btn:hover, .video-btn:hover {
  /* Becomes fully opaque on hover */
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}
.playlist-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin: 30px auto;
  max-width: 600px;
  box-shadow: 0 8px 25px rgba(235, 37, 37, 0.3);
}

.playlist-btn {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--primary);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
  gap: 8px;
}

.playlist-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: #f8f8f8;
}

/* Icon styles */
.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


.speakers-grid, .videos-grid {
  display: grid;
  gap: 25px;
}

.speakers-grid {
  grid-template-columns: repeat(3, 1fr);
}

.videos-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}

.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Common card styles */
.speaker-card, .video-container, .venue-address, .transportation, .transport-option, .contact-info, .contact-form {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Video containers */
.video-container {
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
}

.video-container:hover {
  transform: translateY(-5px);
}

.video-title {
  background: white;
  padding: 15px;
  text-align: center;
  font-weight: 600;
  border-top: 1px solid var(--border);
}

/* ----- 6. SPEAKER CARDS ----- */
.speaker-card {
  flex-direction: column;
  padding: 0;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}

.speaker-header .presentation-resources {
    margin-top: 2px;
    margin-bottom: 7px;
}

.speaker-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.speaker-header {
  display: flex;
  flex-direction: column;
  padding: 15px 15px;
  position: relative;
}

.speaker-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-right: 10px;
  flex-shrink: 0;
}

.speaker-info {
  display: flex;
  align-items: flex-start;
  margin-bottom: 5px;
}

.speaker-name {
  font-weight: bold;
  font-size: 0.85rem;
  margin: 0 0 0px 0;
  color: var(--dark);
}

.speaker-affiliation {
  color: var(--text-light);
  margin: 0;
  font-size: 0.85rem;
}

.speaker-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 3px;
}

.speaker-header .talk-title {
  order: -1;
  width: 100%; 
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.speaker-header .talk-title {
  padding-top: 0;
  border-top: none;
  min-height: 2.15em; 
  max-height: 2.15em; 
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: auto;
}

.speaker-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 10px;
  background: white;
}

.speaker-header .speaker-info {
  display: flex;
  flex-direction: row;    /* logo on left, text on right */
  align-items: center;
  gap: 0.5em;             /* small space between logo & text */
  margin-bottom: 0.5em;   /* spacing before the abstract toggle */
}

/* when expanded */
.speaker-card.active .speaker-content {
  max-height: 2000px;
  padding: 20px;
}

/* Hide expand icon only for speaker cards */
.speaker-card .expand-icon {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  transition: transform 0.3s;
}

.speaker-card.active .expand-icon {
  transform: rotate(45deg);
}

.abstract-toggle {
  align-self: center-start;
  text-align: center;
  background: none;
  border: none;
  font-size: 0.7rem;
  cursor: pointer;
  color: var(--text-light);
  margin: 0;
  padding: 0px 0px;
}

/* Luminary Talk Styling */
.speaker-card.luminary-talk {
  background: #fafafa;
  border: 1px solid #ddd;
}

.speaker-card.luminary-talk .talk-title {
  color: var(--primary);
  font-weight: 700;
}

.speaker-card .expand-icon {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  transition: transform 0.3s;
}
/* ----- 7. WORKSHOP SECTION ----- */
.workshop-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
}

.workshop-date {
  text-align: center;
  font-weight: 600;       
  margin: 0.5rem 0 1.5rem;  
}

.workshop-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 20px;
}

.workshop-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s;
}

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

.workshop-header {
  padding: 25px;
  background-color: var(--light);
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}

.workshop-header:hover {
  background-color: #f0f0f0;
}

.workshop-header h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
  line-height: 1.4;
  padding-right: 30px;
}

.workshop-presenters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}


.workshop-presenter {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
}

.presenter-img {
  width: 80px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.presenter-info {
  display: flex;
  flex-direction: column;
}

/* Restore expand icon for workshop and scholarship headers */
.expand-icon {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  transition: transform 0.3s;
}

.workshop-header.active .expand-icon {
  transform: rotate(45deg);
}

.workshop-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.workshop-header.active + .workshop-content {
  padding: 25px;
  max-height: 1000px;
  border-top: 1px solid var(--border);
}

.workshop-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.workshop-content p:last-child {
  margin-bottom: 0;
}

/* ----- 8. REGISTRATION & COUNTDOWN ----- */
.registration-section {
  margin-bottom: 50px;
}

.early-bird-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* Countdown Timer */
.countdown-container {
  display: flex;
  background: white;
  border-radius: 60px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 10px;
}

.countdown-timer {
  display: flex;
  padding: 10px;
  background: white;
  align-items: center;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  padding: 10px 15px;
  text-align: center;
}

.countdown-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark);
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 5px;
}

.countdown-separator {
  width: 1px;
  height: 50px;
  background-color: #e0e0e0;
}

.countdown-price-area {
  display: flex;
  flex-grow: 1;
  align-items: stretch;
}

.price-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  flex-grow: 1;
}

.price-header {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: normal;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark);
}

.price-separator {
  width: 1px;
  align-self: stretch;
  background-color: #e0e0e0;
  margin: 15px 0;
}

.register-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  font-size: 1.2rem;
}

.countdown-guarantee {
  text-align: right;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 40px;
}

/* Pricing Table */
.pricing-table-container {
  background: white;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 10px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.pricing-table th,
.pricing-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ccc; /* FIXED: Changed from #eee to #ccc for better visibility */
}

.pricing-table th {
  background-color: var(--light);
  font-weight: 600;
  color: var(--dark);
}

/* FIXED: Ensure last row has visible bottom border */
.pricing-table tr:last-child td {
  border-bottom: 1px solid #ccc;
}

.price-cell {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

/* FIXED: Properly center the table register button */
.table-register-btn {
  display: block;
  text-align: center;
  margin: 20px auto 0;
  max-width: 250px;
  padding: 12px 30px;
}

.student-note {
  text-align: center;
  font-style: italic;
  margin-top: 15px;
  color: #666;
}

/* Scholarships */
.scholarship-section {
  margin: -15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.scholarship-header {
  background-color: var(--light);
  border-left: 0;
  position: relative; /* For the expand icon */
}

.scholarship-header h3 {
  color: var(--primary);
  font-size: 1.2rem;
}

.scholarship-content {
  font-size: 0.95rem;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.scholarship-header.active + .scholarship-content {
  padding: 25px;
  max-height: 1000px;
  border-top: 1px solid var(--border);
}

.scholarship-content ul {
  margin-left: 20px;
  list-style-type: disc;
}

.scholarship-content ul li {
  margin-bottom: 8px;
}

.scholarship-button-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.scholarship-btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-xl);
  padding: 10px 25px;
  font-size: 0.95rem;
  transition: background-color 0.3s, transform 0.2s;
}

.scholarship-note {
  font-size: 0.85rem;
  font-style: italic;
  color: #666;
  text-align: center;
  margin-top: 10px;
}

/* ----- 9. VENUE & TRANSPORTATION ----- */
.venue-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.venue-left-column,
.transportation {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.venue-left-column {
  gap: 20px;
}

.venue-address {
  flex-grow: 0;
  padding: 20px;
}

.venue-map {
  flex-grow: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.venue-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
}

.transportation {
  padding: 20px;
}

.venue-address h3, 
.transportation h3 {
  margin-bottom: 10px;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.transport-option {
  margin-top: 15px;
  padding: 10px;
  background: var(--light);
  border-radius: var(--radius-sm);
}

.transport-option h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

.transport-option ol {
  padding-left: 20px;
}

.transport-option ol li {
  margin-bottom: 8px;
}

/* ----- 10. TEAM & CONTACT ----- */
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.team-member p {
  margin-top: 8px;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info, .contact-form {
  padding: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 15px;
}

.contact-text h3 {
  margin-bottom: 5px;
  color: var(--dark);
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  width: 100%;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: inherit;
}

.submit-btn {
  display: block;
  margin: 0 auto;
  padding: 12px 30px;
  min-width: 180px;
  font-size: 1.1rem;
}

/* CAPTCHA Styles */
/* FIXED: Properly center the CAPTCHA note */
.captcha-note {
  font-size: 0.8rem;
  margin-top: 5px;
  color: #666;
  font-style: italic;
  text-align: center;
  width: 100%;
}

.g-recaptcha {
  margin: 5px auto 10px;
  display: flex;
  justify-content: center;
}

/* ----- 11. CAROUSEL & MEDIA ----- */
.experience-carousel {
  margin: 40px auto;
  max-width: 1000px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.carousel-slides {
  position: relative;
  height: 550px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
  will-change: opacity;
}

.carousel-slide.active {
  opacity: 1;
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast; 
  image-rendering: crisp-edges; 
  backface-visibility: hidden;  
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  text-align: center;
}

.slide-caption h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: white;
}

.slide-caption p {
  margin: 0;
  font-size: 1rem;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 0.9);
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

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

.indicator.active {
  background: var(--primary);
}

/* ----- 12. FOOTER ----- */
.main-footer {
  background: var(--dark);
  color: white;
  padding: 30px 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.social-link img {
  height: 18px;
  margin-right: 8px;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ----- 13. ABSTRACT OVERLAY ----- */
.abstract-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1010;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.abstract-overlay.active {
  display: flex;
}

.abstract-content {
  background: white;
  border-radius: var(--radius-md);
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.abstract-header {
  padding: 25px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

#overlay-speaker-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.overlay-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-right: 20px;
}

#overlay-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--dark);
}

#overlay-affiliation {
  color: var(--text-light);
  font-size: 0.95rem;
}

#overlay-title {
  font-style: italic;
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 12px;
  margin-bottom: 0;
  padding-top: 0;
}

#overlay-abstract::before {
  content: "Abstract:";
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.close-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark);
  transition: transform 0.2s;
}

.close-overlay:hover {
  transform: scale(1.1);
}

.abstract-body {
  padding: 25px;
  overflow-y: auto;
}

#overlay-abstract {
  line-height: 1.7;
}

body.overlay-active {
  overflow: hidden;
}

/* ----- 14. RESPONSIVE STYLES ----- */
@media (max-width: 992px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .venue-container,
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .countdown-container {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  
  .countdown-timer {
    justify-content: center;
  }
  
  .countdown-price-area {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }
  
  .price-column {
    text-align: center;
    padding: 15px 20px;
  }

  .price-separator {
    width: 80%;
    height: 1px;
    margin: 0 auto;
  }
  
  .register-button {
    margin: 15px auto;
    width: 80%;
    max-width: 300px;
  }
  
  .countdown-guarantee {
    text-align: center;
    padding: 0 20px;
  }

  /* Make table responsive */
  .pricing-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    margin: 10px 0;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
  }
  
  .hero-content {
    padding: 30px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    white-space: normal;
  }
  
  .speakers-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }
  
  .countdown-box {
    width: 70px;
    padding: 10px 5px;
  }
  
  .countdown-number {
    font-size: 1.6rem;
  }
  
  .countdown-label {
    font-size: 0.8rem;
  }
  
  .price-amount {
    font-size: 1.5rem;
  }
  
  /* Make the price container more compact on mobile */
  .price-column {
    padding: 10px;
  }
  
  .register-button {
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .countdown-box {
    width: 60px;
    padding: 5px;
  }
  
  .countdown-number {
    font-size: 1.5rem;
  }

  .countdown-separator {
    height: 40px;
  }
  
  .venue-map iframe {
    height: 300px;
  }
  
  /* Adjust scholarship section on small screens */
  .scholarship-section {
    margin: 0;
  }
  
  .scholarship-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
  }
}

#abstract-overlay .overlay-logo {
  display: none;
}

