/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

/* Header Styles */
.header {
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-main {
  background-color: #f9fafb;
  color: #374151;
  padding: 3rem 1rem;
  border-bottom: 4px solid #1d4ed8;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-container {
  flex-shrink: 0;
}

.logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.title-container {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
}

.main-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.organized-by {
  font-size: 1.125rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
  padding-left: 3px;
}

.college-name {
  font-size: 1.5rem;
  font-weight: 500;
}

/* Navigation Styles */
.nav {
  background-color: #475569;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center; /* Centered by default for larger screens */
  gap: 2rem;
  padding: 0.75rem 0;
  overflow-x: auto;
  padding-bottom: 10px; /* Added to ensure scrollbar is visible */
  -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #93c5fd;
}

.nav-link.active {
  color: #93c5fd; /* Highlight color for active link */
  font-weight: 700;
  border-bottom: 2px solid #93c5fd;
}

/* Update Banner */
.update-banner {
  background-color: #0ea5e9;
  color: white;
  padding: 0.75rem 1rem;
}

.update-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.update-label {
  background-color: #0284c7;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 1rem;
}

.update-text {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Slideshow Styles */
.slideshow-section {
  background: linear-gradient(to bottom right, #f3f4f6, #e5e7eb);
  padding: 2rem 0 4rem;
}

.slideshow-container {
  position: relative;
  height: 600px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 1280px;
  margin: 0 auto;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent, transparent);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.caption-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 1rem;
  max-width: 24rem;
}

.caption-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.caption-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
}

.slide-dots {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: white;
  transform: scale(1.25);
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #0ea5e9);
  transition: width 5s linear;
}

/* Main Content Styles */
.main-content {
  background-color: #f9fafb;
  padding: 4rem 0;
}

.content-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.card-header {
  background-color: #2563eb;
  padding: 1rem 2rem;
}

.card-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: white;
}

.card-content {
  padding: 2rem;
}

.card-text {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Conference Tracks */
.track-list {
  list-style: none;
  padding: 0;
}

.track-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.track-bullet {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #2563eb;
  border-radius: 50%;
  margin-top: 0.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.track-text {
  font-size: 0.875rem;
  color: #374151;
}

/* Important Dates */
.date-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-top: 4px solid #2563eb;
  height: 16rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.date-icon {
  width: 3rem;
  height: 3rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.date-title {
  font-size: 1rem;
  font-weight: bold;
  color: #2563eb;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.date-value {
  font-size: 1.25rem;
  font-weight: bold;
  color: #16a34a;
}

.date-year {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Downloads */
.download-card {
  background-color: #2563eb;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
  color: white;
}

.download-card:hover {
  background-color: #1d4ed8;
  color: white;
}

.download-icon {
  width: 3rem;
  height: 3rem;
  color: white;
  margin-bottom: 1rem;
}

.download-title {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  line-height: 1.2;
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.footer-text {
  color: #d1d5db;
}

.footer-highlight {
  color: #60a5fa;
  font-weight: 600;
}

/* Contact Page Styles */
.contact-main {
  background-color: #f9fafb;
  padding: 4rem 0;
}

.map-container {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 4rem;
}

.map-frame {
  height: 500px;
  width: 100%;
  border: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.contact-section {
  margin-bottom: 1.5rem;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
}

.contact-text {
  color: #374151;
  font-size: 1.125rem;
  line-height: 1.6;
}

.contact-info {
  margin-bottom: 0.5rem;
}

.contact-link {
  color: #2563eb;
  text-decoration: underline;
}

.contact-link:hover {
  color: #1d4ed8;
}

.query-box {
  background-color: #eff6ff;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.query-text {
  color: #374151;
  margin-bottom: 1rem;
}

.email-box {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
  border-left: 4px solid #2563eb;
  margin-bottom: 0.75rem;
}

.email-text {
  color: #2563eb;
  font-weight: 600;
}

.office-hours {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.office-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #374151;
  margin-bottom: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.125rem;
  }

  .college-name {
    font-size: 1.25rem;
  }

  .nav-menu {
    justify-content: flex-start; /* Left-aligned for mobile */
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.875rem;
    padding: 0.25rem;
  }

  .slideshow-container {
    height: 400px;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .title-container {
    padding: 2rem 0 0;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .slideshow-container {
    height: 300px;
  }

  .card-content {
    padding: 1rem;
  }

  .date-card {
    height: 14rem;
  }
}
