:root {
  /* Colors */
  --primary-color: #008080;
  /* Teal - Surgical/Medical */
  --secondary-color: #2F4F4F;
  /* Dark Slate Gray */
  --accent-color: #D2691E;
  /* Chocolate - Earthy African Tone */
  --light-bg: #F0F8FF;
  /* Alice Blue */
  --white: #FFFFFF;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #E0E0E0;

  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 4rem 2rem;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--light-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #006666;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 128, 128, 0.3);
}

.btn-secondary:hover {
  background-color: #A0522D;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--secondary-color);
}

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

.nav-links a.active {
  color: var(--primary-color);
  font-weight: 700;
}

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

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 1rem 0 3rem;
  /* Reduced top padding */
  text-align: center;
}

/* Sponsors Section Heading */
.sponsors-section h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.sponsors-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
}

.sponsor-placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Mobile menu to be implemented if needed */
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Hero Section Specifics */
.hero {
  background: linear-gradient(rgba(0, 50, 50, 0.8), rgba(0, 0, 0, 0.6)), url('../assets/images/hero-slide-2.jpg') no-repeat center center/cover;
  transition: background-image 1s ease-in-out;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.hero-announcement {
  margin-bottom: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  display: inline-block;
}

.badge {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.date {
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Panelists Section */
.panelists-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.keynote-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #f8fcfc 0%, #e6f7f7 100%);
  position: relative;
  overflow: hidden;
}

.keynote-container {
  max-width: 1000px;
  margin: 0 auto;
}

.keynote-card {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 71, 71, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 8px solid var(--primary-color);
}

.keynote-header {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.keynote-img {
  width: 250px;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.keynote-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f8fcfc;
}

.keynote-title-box h3 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.keynote-badge {
  background: var(--accent-color);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 1rem;
}

.keynote-title-box .role {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
}

.keynote-title-box .institution {
  font-size: 1.1rem;
  color: var(--text-light);
}

.keynote-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.keynote-bio p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.keynote-expertise h4 {
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
  padding-bottom: 0.3rem;
}

.expertise-list {
  list-style: none;
  padding: 0;
}

.expertise-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: #444;
}

.expertise-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .keynote-header {
    flex-direction: column;
    text-align: center;
  }

  .keynote-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .keynote-card {
    padding: 2rem;
  }
}

.panelists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.panelist-card {
  background: var(--light-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

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

.panelist-img {
  height: 250px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.panelist-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.panelist-info {
  padding: 1rem;
}

.panelist-info h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.panelist-info .role {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.panelist-info .institution {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.panelist-bio {
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
  line-height: 1.4;
  text-align: left;
  padding: 0 0.5rem;
  border-top: 1px solid #eee;
  padding-top: 0.75rem;
}

/* About Us Section */
.about-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* About Slideshow */
.about-slideshow {
  position: relative;
  width: 100%;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  animation: fadeIn 1s ease-in-out;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f9f9f9;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.slideshow-dots {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: var(--primary-color);
}

/* Responsive About Section */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slideshow-container {
    height: 400px;
  }
}


/* Schedule Section */
.schedule-section {
  padding: var(--section-padding);
  background-color: #f9f9f9;
}

.schedule-container {
  max-width: 800px;
  margin: 0 auto;
}

.schedule-item {
  background: var(--white);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.schedule-item .time {
  font-weight: 700;
  color: var(--primary-color);
  min-width: 120px;
}

.schedule-item .details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.schedule-item .speaker {
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.schedule-item .description {
  font-size: 0.95rem;
}

.schedule-day {
  margin-bottom: 3rem;
}

.day-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item .location {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Schedule Avatars and Modal */
.speaker-avatars {
    display: flex;
    margin: 10px 0;
    flex-wrap: wrap;
    padding-left: 10px;
}
.avatar-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--white);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, z-index 0.2s ease, box-shadow 0.2s ease;
    margin-left: -15px; /* Overlap effect */
    position: relative;
    background-color: #eee;
}
.avatar-bubble:hover {
    transform: scale(1.1) translateY(-5px);
    z-index: 10;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.avatar-bubble img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Custom Modal */
.custom-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}
.modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s ease;
    line-height: 1;
}
.close-btn:hover { color: var(--accent-color); }

/* Lightbox Styles */
.lightbox .lightbox-content {
    background: transparent;
    box-shadow: none;
    max-width: 90vw;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-height: 80vh;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    border: 4px solid var(--white);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lightbox .close-btn {
    color: var(--white);
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  /* Registration Page Styles */
  .registration-section {
    padding: var(--section-padding);
    background-color: var(--light-bg);
    min-height: 80vh;
  }

  .form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }

  .form-group-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
  }

  .form-group-section:last-child {
    border-bottom: none;
  }

  .form-group-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
  }

  .form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
  }

  .form-actions {
    text-align: center;
    margin-top: 2rem;
  }

  .btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
  }

  /* Responsive Form */
  @media (max-width: 768px) {
    .form-grid {
      grid-template-columns: 1fr;
    }

    .form-container {
      padding: 1.5rem;
    }
  }

  .schedule-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }
}

/* Footer & Subscribe Integration */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 4rem 0 0;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 1rem 0 1.5rem;
  max-width: 300px;
}

.footer-column.contact p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.9;
}

.footer-column.contact i {
  color: var(--accent-color);
  width: 15px;
}

.footer-column.subscribe p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.footer-subscribe-form {
  margin-top: 1rem;
}

.footer-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.footer-input-group:focus-within {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.15);
}

.footer-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-main);
  outline: none;
}

.footer-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe-btn {
  background: var(--accent-color);
  border: none;
  color: var(--white);
  padding: 0 1.25rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-subscribe-btn:hover {
  background: #A0522D;
}

.subscribe-message {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.2rem;
}

.subscribe-message.success {
  color: #4ade80;
}

.subscribe-message.error {
  color: #f87171;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-column.contact p {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-tagline {
    margin: 1rem auto 1.5rem;
  }
}

/* Call for Sponsors Section */
.sponsors-call-section {
  padding: 5rem 2rem 2rem;
  /* Reduced bottom padding */
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  margin-top: 2rem;
}

/* Footer Social Links */
.footer-content {
  display: flex;
  justify-content: center;
  padding: 2rem 0 1rem;
}

.social-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  transform: translateY(-5px);
  background: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon.youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}

.social-icon.linkedin:hover {
  background: #0077B5;
  border-color: #0077B5;
}

.social-icon.email:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.sponsors-call-section h2 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sponsors-call-section .sponsor-text {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.sponsor-contact-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  display: inline-block;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sponsor-contact-box p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.sponsor-email {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin: 1rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sponsor-email:hover {
  color: var(--accent-color);
}

.sponsor-phone {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
}

/* Poster Section */
.poster-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.poster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.poster-column.left {
  display: flex;
  justify-content: center;
}

.conference-poster {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.conference-poster:hover {
  transform: scale(1.02);
}

.poster-column.right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-box i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.cta-sub {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
}

.cta-sub i {
  font-size: inherit;
  margin-bottom: 0;
  margin-right: 0.25rem;
}

/* Primary Box Style (Submit Abstract) */
.primary-box {
  background-color: var(--primary-color);
  color: var(--white);
}

.primary-box:hover {
  background-color: #006666;
}

/* Secondary Box Style (Register) */
.secondary-box {
  background-color: var(--white);
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.secondary-box:hover {
  background-color: var(--accent-color);
  color: var(--white);
}

/* Responsive Poster Section */
@media (max-width: 900px) {
  .poster-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .poster-column.left {
    justify-content: center;
  }

  .poster-img {
    max-width: 80%;
  }

  .cta-box {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .poster-img {
    max-width: 100%;
  }
}
/* Print Styles */
@media print {
  /* Hide non-essential elements */
  header, 
  .hero-btns, 
  .poster-column.right, 
  .about-slideshow, 
  .slideshow-dots,
  .mobile-menu-toggle,
  .footer-column.subscribe,
  .social-links,
  .sponsor-cta-wrapper,
  .btn,
  .footer-bottom,
  #subscribe-form {
    display: none !important;
  }

  /* Reset layout for print */
  body {
    background: white !important;
    color: black !important;
    font-size: 11pt;
  }

  .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  section {
    padding: 20px 0 !important;
    page-break-inside: avoid;
  }

  .section-title {
    color: black !important;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-bottom: 15px !important;
    font-size: 18pt !important;
  }

  /* Hero adjustments */
  .hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 40px 0 !important;
    background: none !important;
    border-bottom: 2px solid #ccc;
  }

  .hero-overlay {
    display: none !important;
  }

  .hero-content h1 {
    color: black !important;
    font-size: 24pt !important;
  }

  .hero-subtitle, .hero-date, .hero-location {
    color: #444 !important;
    margin-bottom: 10px !important;
  }

  /* Keynote adjustments */
  .keynote-section {
    background: none !important;
    border-radius: 0 !important;
  }

  .keynote-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    padding: 20px !important;
  }

  .keynote-badge {
    border: 1px solid black !important;
    color: black !important;
    background: none !important;
  }

  /* Schedule adjustments */
  .schedule-day {
    page-break-before: always;
  }

  .schedule-item {
    border: 1px solid #eee !important;
    page-break-inside: avoid;
  }

  /* Sponsors adjustments */
  .sponsors-call-section {
    background: none !important;
    padding: 20px 0 !important;
    margin-top: 0 !important;
  }

  .sponsors-call-section h2 {
    color: black !important;
  }

  .sponsors-carousel {
    flex-wrap: wrap;
    gap: 15px;
  }

  .sponsor-item {
    page-break-inside: avoid;
  }

  .sponsor-logo-box {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  .sponsor-name {
    color: black !important;
    text-shadow: none !important;
  }

  /* Footer adjustments */
  footer {
    background: none !important;
    color: black !important;
    border-top: 2px solid #333;
    padding-top: 20px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-logo img {
    filter: none !important;
  }

  /* Prevent awkward breaks */
  h1, h2, h3, h4 { page-break-after: avoid; }
  img { max-width: 100% !important; page-break-inside: avoid; }
}
