: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(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.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-1.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);
}

.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: 200px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.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;
}

/* 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: cover;
}

@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;
}

/* 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;
  }
}

/* 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%;
  }
}