/* Modern minimalist design with improved visual hierarchy */

:root {
  --primary: #232f3e;
  --accent: #ff9900;
  --accent-dark: #146eb4;
  --background: #ffffff;
  --light-gray: #f2f2f2;
  --border: #e1e1e1;
  --text: #000000;
  --text-light: #232f3e;
  --spacing: 2rem;
  --header-gradient: linear-gradient(135deg, #232f3e, #146eb4);
  --footer-gradient: linear-gradient(135deg, #f2f2f2, #e1e1e1);
}

/* Base styles */
body {
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
  margin: 2rem 0 1rem;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

p {
  margin: 1rem 0;
  color: var(--text-light);
}

/* Layout */
header, nav, main, footer {
  padding: var(--spacing);
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background: var(--primary);
  text-align: center;
  padding: 3rem var(--spacing);
  color: var(--background);
}

header h1 {
  color: var(--background);
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h2 {
  color: var(--background);
  margin: 0;
}
header h3 {
  color: var(--background);
  margin: 0;
}

/* Navigation */
nav {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem var(--spacing);
}

/* Links */
a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0.5rem 0;
  position: relative;
}

a:hover {
  color: var(--accent);
}

nav a {
  color: var(--text-light);
  font-weight: 500;
}

nav a:hover {
  color: var(--accent);
}

nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

/* Sections */
section {
  margin: 3rem 0;
  padding: 0 1rem;
}

/* Lists */
ul, ol {
  padding-left: 1.5rem;
  color: var(--text-light);
}

li {
  margin: 0.5rem 0;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 2rem 0;
  border-radius: 4px;
  overflow: hidden;
}

th, td {
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--border);
}

th {
  background-color: var(--light-gray);
  font-weight: 600;
}

/* Articles (Speaker cards) */
article {
  background-color: var(--light-gray);
  padding: 2rem;
  margin: 1rem 0;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

article:hover {
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4rem;
  padding: 3rem var(--spacing);
  background: var(--footer-gradient);
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0.5rem 0;
  color: var(--text);
}

footer em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
  :root {
    --spacing: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  nav {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Sponsors Section */
.sponsors-section {
  padding: 4rem 0;
  background: var(--light-gray);
  margin-top: 4rem;
}

.sponsors-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

.sponsors-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sponsor-tier {
  margin-bottom: 4rem;
  text-align: center;
}

.sponsor-tier h3 {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

.sponsor-card {
  background: var(--background);
/*   padding: 2rem; */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-sponsor {
  display: block;       /* Makes the image a block element */
  height: 200px;        /* Adjust this value as needed */
  max-width: 90%;      /* Ensures the image doesn't exceed the container's width */
  object-fit: contain;  /* Maintains aspect ratio while fitting within the set dimensions */
  margin: 0 auto;       /* Centers the image horizontally */
}

.secondary-sponsor {

  height: 250px;  /* Adjust this value as needed */
  max-width: 100%;
  object-fit: contain;
}
/* 
/* SVG-specific styles */
.sponsor-logo {
  
} */

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sponsor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Speakers Section */
.speakers-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.speaker-card {
  background: var(--background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speaker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.speaker-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.speaker-card:hover .speaker-image img {
  transform: scale(1.05);
}

.speaker-info {
  padding: 1.5rem;
}

.speaker-info h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.25rem;
}

.speaker-affiliation {
  color: var(--accent);
  font-weight: 500;
  margin: 0.5rem 0;
}

.speaker-bio {
  color: var(--text-light);
  margin: 1rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.speaker-topic {
  margin: 1rem 0;
  font-size: 0.95rem;
}

.speaker-links {
  margin-top: 1rem;
}

.speaker-links a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.speaker-links a:hover {
  color: var(--accent);
}

.speaker-card:last-child {
  justify-self: center;
}

/* Panel Section */
.panel-section {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 8px;
}

.panel-section h2 {
  color: var(--primary);
  margin-top: 0;
}

.panel-moderator,
.panel-members {
  margin: 1rem 0;
  color: var(--text);
}

.panel-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .speakers-grid {
    grid-template-columns: 1fr;
  }
  
  .speaker-info {
    padding: 1rem;
  }
}

/* Card hover animation */
@keyframes cardHover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-4px);
  }
}
.program-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.schedule-container {
  background: var(--background);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.session-block {
  margin: 2rem 0;
}

.session-block h3 {
  color: var(--primary);
  padding: 1rem 2rem;
  margin: 0;
  background: var(--light-gray);
  border-left: 4px solid var(--accent);
}

.schedule-item {
  display: grid;
  grid-template-columns: minmax(160px, auto) 1fr;
  gap: 2rem;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.schedule-item:hover {
  background-color: var(--light-gray);
}

.schedule-item.break {
  background-color: var(--light-gray);
}

.schedule-item .time {
  font-family: monospace;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}

.schedule-item .event {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 640px) {
  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .schedule-item .time {
    color: var(--accent-dark);
  }
}



/* Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

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

/* Call to action buttons */
.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  background-color: var(--accent-dark);
  color: white;
}

/* ========== Organizers Grid Styles ========== */

/* The grid container: flexible layout that wraps */
.organizers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0rem; /* space between organizer cards */
  justify-content: center; /* center them horizontally */
  margin-top: 1rem;
}

/* Each organizer card has a border, hover effect, etc. */
/* Each organizer card stays 200px wide */
.organizer-card {
  width: 175px;
  background-color: var(--background);
  border: 1px solid var(--border);
/*  border-radius: 8px;*/
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0rem; /* optional spacing at bottom */
}

/* Container with fixed aspect ratio (e.g., 3:4) */
.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;  /* auto-calculate height based on width */
  overflow: hidden;
}

/* Make images fill container, cropping top/bottom or sides equally */
.organizer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* ensures the image fills and crops to container */
  object-position: 50% 50%; /* center the crop */
}

/* Example hover effect for each card */
.organizer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Name overlay stays at the top */
.organizer-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

/* Affiliation text below image */
.organizer-affiliation {
  color: var(--text-light);
  margin: 1rem 0;
}

/* Center the call to action section and add spacing */
#call-to-action {
  text-align: center;
  margin: 3rem 0;
}

/* Make a flex container for the buttons, spacing them apart */
.cta-buttons {
  display: flex;
  gap: 1.5rem;               /* spacing between buttons */
  justify-content: center;   /* center horizontally */
  flex-wrap: wrap;           /* allow wrapping on smaller screens */
}

/* Style each link as a “button” */
.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent);       /* e.g., #ff9900 or your accent color */
  color: #fff;                           /* white text for contrast */
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease, 
              transform 0.2s ease;
}

/* Hover effect: darken background, raise slightly */
.cta-button:hover {
  background-color: var(--accent-dark);  /* e.g., #146eb4 or similar */
  transform: translateY(-2px);
}

