/* =========================================
   GLOBAL LAYOUT
========================================= */
.container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  width: 95%;
  max-width: 1200px;
  margin: 40px auto;
}

/* =========================================
   SIDEBAR
========================================= */
.sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  width: 280px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.sidebar h3 {
  color: #013c74;
  margin-bottom: 12px;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid #d0e3f5;
  padding-bottom: 6px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  background: #f3f9ff;
  color: #013c74;
  padding: 10px 12px;
  margin-bottom: 8px;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sidebar li:hover,
.sidebar li.active {
  background: #013c74;
  color: #ffd700;
}

/* =========================================
   MAIN CONTENT AREA
========================================= */
.main {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.main section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.main section.active {
  display: block;
}

.main h2 {
  color: #013c74;
  margin-bottom: 10px;
  font-weight: 600;
}

.main p {
  color: #2e4a6b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* =========================================
   CONFERENCE GRID
========================================= */
.conference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: linear-gradient(180deg, #f3f9ff 0%, #eaf3fb 100%);
  border: 1px solid #d0e3f5;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(172, 204, 233, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
  border-color: #0254a2;
  box-shadow: 0 6px 15px rgba(1, 60, 116, 0.15);
}

.card h4 {
  color: #012a56;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 1.05em;
}

.card p {
  color: #2e4a6b;
  font-size: 0.9rem;
  margin: 3px 0;
}

/* =========================================
   APPLY / REGISTRATION FORM
========================================= */
.apply-form {
  background: #f9fbff;
  border: 1px solid #d0e3f5;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(172, 204, 233, 0.15);
  transition: all 0.3s ease;
  max-width: 600px;
}

.apply-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(1, 60, 116, 0.15);
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border: 1px solid #cfd8e6;
  border-radius: 6px;
  background: #fff;
  font-size: 0.95em;
  outline: none;
  transition: all 0.3s ease;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: #013c74;
  box-shadow: 0 0 5px rgba(1, 60, 116, 0.25);
}

.apply-form button {
  margin-top: 18px;
  width: 100%;
  background: #013c74;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apply-form button:hover {
  background: #0254a2;
  transform: translateY(-2px);
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .conference-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 600px) {
  .main {
    padding: 20px;
  }

  .card {
    padding: 18px;
  }

  .apply-form {
    padding: 18px;
  }
}
