/* ====================================
   GLOBAL STYLES & RESET
   ==================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f7fa;
}

/* ====================================
   HEADER
   ==================================== */

/* === Header Section === */
header {
  display: flex;
  align-items: center;   /* vertical alignment of logo and text */
  justify-content: flex-start;
  gap: 4rem;             /* space between logo and text */
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
  padding: 1.0rem 1.0rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Logo container with white background */
/* Header container */
header {
  display: flex;
  align-items: center;      /* vertical alignment */
  gap: 2rem;                /* spacing between logo and text */
  padding: 2rem 3rem;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

/* Logo styling */
.header-logo {
  flex-shrink: 0;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1.5);
  transition: transform 0.3s ease;
}


.header-logo img {
  width: 100px;  /* smaller logo */
  height: auto;
  display: block;
}

/* Text container that fills remaining space */
.header-text-container {
  flex: 1;
  display: flex;
  justify-content: center;  /* center horizontally in remaining space */
  align-items: center;      /* center vertically */
}

/* Actual text block */
.header-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;         /* each line left-aligned */
  max-width: 600px;         /* optional max width for better readability */
}

.header-text h1 {
  margin: 0;
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.header-text h3 {
  text-align: center;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.4;
}

.header-text p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  header {
    gap: 1.5rem;
    padding: 1.5rem 2rem;
  }

  .header-logo img {
    width: 60px;
  }

  .header-text h1 {
    font-size: 3rem;
  }

  .header-text h3 {
    font-size: 1.1rem;
  }

  .header-text p {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .header-text-container {
    justify-content: center;
  }

  .header-text {
    text-align: center;
    gap: 0.3rem;
  }

  .header-logo img {
    width: 80px;
  }

  .header-text h1 {
    font-size: 1.8rem;
  }

  .header-text h3 {
    font-size: 1rem;
  }

  .header-text p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1.5rem 1rem;
  }

  .header-logo img {
    width: 70px;
  }

  .header-text h1 {
    font-size: 1.5rem;
  }

  .header-text h3 {
    font-size: 0.95rem;
  }

  .header-text p {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }
}


/* ====================================
   HERO SECTION
   ==================================== */

#hero-section {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  margin-bottom: 2rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #004aad;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ====================================
   SPEAKERS SECTION
   ==================================== */

#speakers-section {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

#speakers-section h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 3rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

#speakers-section h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #4a90e2, #2ecc71);
  border-radius: 2px;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.speaker {
  background: #fafafa;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 2px solid transparent;
}

.speaker:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  background: #ffffff;
  border-color: #4a90e2;
}

.speaker img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid #e2e8f0;
  transition: border-color 0.3s ease;
}

.speaker:hover img {
  border-color: #4a90e2;
}

.speaker h3 {
  font-size: 1.2rem;
  color: #1a202c;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.speaker p {
  font-size: 0.95rem;
  color: #718096;
  margin: 0.3rem 0;
  line-height: 1.5;
}

/* ====================================
   EVENT SCHEDULE SECTION
   ==================================== */

.event-schedule-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.event-schedule {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.event-schedule h1 {
  text-align: center;
  font-size: 2.3rem;
  color: #2d3748;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.event-schedule h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #2d3748;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
}

.session-header {
  background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
  padding: 1.2rem 1.8rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 5px solid #4a90e2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.session-header strong {
  color: #1a202c;
  font-size: 1.1rem;
}

.session-header p {
  margin-top: 0.5rem;
  color: #4a5568;
  font-size: 0.95rem;
}

.session-block {
  margin-bottom: 2.5rem;
  padding: 2rem;
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.session-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Session Color Themes */
.morning {
  background: linear-gradient(135deg, #fff8e7 0%, #fffbf0 100%);
  border-left: 6px solid #ffb84d;
}

.noon {
  background: linear-gradient(135deg, #e6fff5 0%, #f0fff9 100%);
  border-left: 6px solid #2ecc71;
}

.afternoon {
  background: linear-gradient(135deg, #eaf3ff 0%, #f0f7ff 100%);
  border-left: 6px solid #4a90e2;
}

.evening {
  background: linear-gradient(135deg, #f9eaff 0%, #fdf4ff 100%);
  border-left: 6px solid #a56de2;
}

.session-block h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #1a202c;
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.talk {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease;
}

.talk:hover {
  background: rgba(255, 255, 255, 0.5);
  padding-left: 0.25rem;
  border-radius: 8px;
}

.talk:last-child {
  border-bottom: none;
}

.talk span {
  flex-shrink: 0;
  font-weight: 600;
  color: #2d3748;
  width: 110px;
  font-size: 0.95rem;
}

.talk p {
  margin: 0;
  line-height: 1.6;
  color: #4a5568;
  font-size: 0.95rem;
}

.talk strong {
  color: #1a202c;
  font-weight: 600;
}

/* Break Styling */
.break {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: #78350f;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.break:hover {
  background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
  color: #065f46;
  cursor: pointer;
  transform: scale(1.02);
}

/* Highlight Styles */
.highlight {
  background: linear-gradient(135deg, #fffdf5 0%, #fefce8 100%);
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.highlight:hover {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left-color: #d97706;
  transform: translateX(4px);
}

.highlights {
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  border-left: 4px solid #06b6d4;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.highlights:hover {
  background: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 100%);
  border-left-color: #0891b2;
  transform: translateX(4px);
}

/* Download Button */
.event-schedule + div {
  text-align: center;
  margin-top: 2rem;
}

.event-schedule a[download] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  transition: all 0.3s ease;
}

.event-schedule a[download]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

/* ====================================
   PITCH SECTION
   ==================================== */

.pitch-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pitch-section h2 {
  text-align: center;
  color: #2d3748;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

.pitch-table {
  width: 100%;
  border-collapse: collapse;
  background: #f9fff8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.pitch-table th {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  text-align: center;
  padding: 1.2rem 1rem;
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pitch-table td {
  padding: 1.2rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
  color: #4a5568;
}

.pitch-table tr:nth-child(even) {
  background: #f7fafc;
}

.pitch-table tr:nth-child(odd) {
  background: #ffffff;
}

.pitch-table tr:hover {
  background: #e6ffed;
  transition: background 0.3s ease;
}

.pitch-table tr:last-child td {
  border-bottom: none;
}

/* Role Indicators */
.msc {
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.9rem;
}

.phd {
  color: #1565c0;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ====================================
   GALLERY SECTION
   ==================================== */

#gallery-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

#gallery-section h2 {
  text-align: center;
  font-size: 2.3rem;
  color: #2d3748;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.dots {
  text-align: center;
  padding: 1.5rem 0;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #cbd5e0;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot:hover,
.dot.active {
  background-color: #4a90e2;
  transform: scale(1.3);
}


/* ====================================
   SPONSORS SECTION
   ==================================== */

#sponsors-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

#sponsors-section h2 {
  text-align: center;
font-size: 3rem;
  color: #2d3748;
  margin-bottom: 3rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

#sponsors-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #4a90e2, #2ecc71);
  border-radius: 2px;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: stretch;
  justify-items: center;
}

.sponsor-card {
  width: 100%;
  max-width: 350px;
  min-height: 280px;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: 16px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

/* Subtle highlight effect */
.sponsor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
  transition: left 0.6s ease;
}

.sponsor-card:hover::before {
  left: 100%;
}

.sponsor-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(74, 144, 226, 0.2);
  border-color: #4a90e2;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.sponsor-card img {
  max-width: 100%;
  width: 200px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.sponsor-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

.sponsor-card h3 {
  font-size: 1rem;
  color: #4a5568;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding-top: 1.2rem;
  
  width: 100%;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.sponsor-card:hover h3 {
  color: #2d3748;
  
}

/* Responsive Design */
@media (max-width: 968px) {
  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
  }
  
  .sponsor-card {
    max-width: 320px;
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }
  
  .sponsor-card {
    max-width: 300px;
    min-height: 250px;
    padding: 2rem 1.5rem 1.5rem;
  }

  .sponsor-card img {
    width: 180px;
    max-height: 120px;
  }

  .sponsor-card h3 {
    font-size: 1.05rem;
    padding-top: 1rem;
  }
}

@media (max-width: 480px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  #sponsors-section {
    padding: 2rem 1rem;
  }
  
  #sponsors-section h2 {
    font-size: 1.8rem;
  }

  .sponsor-card {
    max-width: 100%;
    min-height: 240px;
  }

  .sponsor-card img {
    width: 160px;
    max-height: 110px;
  }
}

/* ====================================
   FOOTER
   ==================================== */

footer {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

footer p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  #speakers-section h1,
  #gallery-section h2,
  #sponsors-section h2 {
    font-size: 1.8rem;
  }

  .event-schedule {
    padding: 1.5rem;
  }

  .event-schedule h1 {
    font-size: 1.8rem;
  }

  .event-schedule h2 {
    font-size: 1.4rem;
  }

  .talk {
    flex-direction: column;
    gap: 0.5rem;
  }

  .talk span {
    width: auto;
    font-size: 0.9rem;
  }

  .speakers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }

  .pitch-section {
    padding: 1.5rem;
  }

  .pitch-table th,
  .pitch-table td {
    padding: 0.8rem;
    font-size: 0.85rem;
  }

  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 2rem 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  #hero-section {
    padding: 2rem 1rem;
  }

  .event-schedule a[download] {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
  }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}