:root {
  --primary-blue: #0054a9;
  --header-purple: #550884;
  --dark-item: #3e3e3e;
  --sidebar-red: #ff0000;
  --container-width: 960px;
  --body-bg: #eceeef;
  --text-color: #333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  background-color: var(--body-bg);
}

.main-wrapper {
  max-width: var(--container-width);
  margin: 10px auto;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

a {
  text-decoration: none;
  color: var(--primary-blue);
}

ul {
  list-style: none;
}

/* Header */
.main-header {
  position: relative;
  overflow: hidden;
  padding: 35px 20px;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.main-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.header-inner-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.header-logo img {
  height: 85px;
  background: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-main-info {
  margin-left: 30px;
  flex: 1;
}

.header-title-text h1 {
  font-size: 24px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.8);
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  max-width: 650px;
}

.header-pills {
  display: flex;
  gap: 12px;
}

.pill {
  padding: 8px 24px;
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
  display: inline-block;
}

.black-pill {
  background: #000;
}

.purple-pill {
  background: #550884;
}

/* Navigation */
.nav-container {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 1000;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  padding: 5px 15px;
  justify-content: flex-start;
}

.main-nav ul li {
  position: relative;
  display: inline-block;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: 10px;
  padding: 8px 9px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav ul li:hover>a {
  color: #000;
  background: rgba(0, 0, 0, 0.05);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 0 0 5px 5px;
  border-top: 3px solid #ffcc33;
  transition: all 0.3s ease;
  transform: translateY(10px);
}

.main-nav ul li:hover>.dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li {
  display: block !important;
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  padding: 12px 20px !important;
  font-size: 11px !important;
  color: #444 !important;
  display: block !important;
  width: 100%;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #f9f9f9 !important;
  color: #000 !important;
  padding-left: 25px !important;
  /* Nice slide effect */
}

.slider-slide img {
  width: 100%;
}

.rainbow-stripe {
  display: flex;
  height: 6px;
  width: 100%;
}

.rainbow-stripe span {
  flex: 1;
  height: 100%;
}

.rainbow-stripe span:nth-child(1) {
  background: #f15a24;
}

.rainbow-stripe span:nth-child(2) {
  background: #0071bc;
}

.rainbow-stripe span:nth-child(3) {
  background: #8dc63f;
}

.rainbow-stripe span:nth-child(4) {
  background: #00bff3;
}

.rainbow-stripe span:nth-child(5) {
  background: #ed1c24;
}

.rainbow-stripe span:nth-child(6) {
  background: #fff200;
}

.rainbow-stripe span:nth-child(7) {
  background: #ec008c;
}

.rainbow-stripe span:nth-child(8) {
  background: #0054a6;
}

.rainbow-stripe span:nth-child(9) {
  background: #00a651;
}

.rainbow-stripe span:nth-child(10) {
  background: #00adef;
}

.rainbow-stripe span:nth-child(11) {
  background: #8c2e91;
}

.rainbow-stripe span:nth-child(12) {
  background: #be1e2d;
}

/* Hero Banner */
.hero-banner img {
  width: 100%;
  display: block;
  height: auto;
}

/* Layout */
.page-container {
  display: flex;
  padding: 20px;
  gap: 20px;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
}

.main-content {
  flex: 1;
}

/* Sidebar Styling */
.sidebar-block {
  margin-bottom: 20px;
  border: 1px solid #ddd;
}

.sidebar-block h3 {
  background: var(--primary-blue);
  color: #fff;
  padding: 10px 15px;
  font-size: 13.5px;
  text-transform: uppercase;
  position: relative;
  border-top: 4px solid var(--sidebar-red);
}

.sidebar-block ul li {
  background: var(--dark-item);
  border-bottom: 1px solid #555;
}

.sidebar-block ul li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  font-size: 13.5px;
}

.sidebar-block ul li a:hover {
  background: #222;
  padding-left: 18px;
  transition: all 0.2s;
}

/* Other Conferences Grid */
.conf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark-item);
}

.conf-grid div {
  padding: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #555;
}

/* Content Area */
.main-content h2 {
  font-size: 21px;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.main-content p {
  margin-bottom: 15px;
  text-align: left;
  font-size: 14.5px;
  color: #444;
}

/* Indexing Logos */
.indexing-section h2 {
  margin-top: 35px;
  font-size: 21px;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.indexing-table {
  width: 100%;
  border-collapse: collapse;
}

.indexing-table td {
  border: 1px solid #f0f0f0;
  padding: 15px;
  text-align: center;
  width: 25%;
}

.indexing-table img {
  max-width: 110px;
  height: auto;
}

/* Footer */
.main-footer {
  background: var(--primary-blue);
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 13px;
}

/* Floating Widgets */
.floating-widgets {
  position: fixed;
  bottom: 20%;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.float-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.float-wa {
  background: #25d366;
}

.float-li {
  background: #00c300;
}

.float-tg {
  background: #0088cc;
}

/* Slider Styles */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #000;
}

.slider-wrapper {
  display: flex;
  position: relative;
  width: 100%;
}

.slider-slide {
  width: 100%;
  flex: 0 0 100%;
  display: none;
}

.slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 400px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 16px;
  transition: 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.slider-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-dot.active,
.slider-dot:hover {
  background: white;
}

@media (max-width: 850px) {
  .header-inner-content {
    flex-direction: column;
    text-align: center;
  }

  .header-main-info {
    margin-left: 0;
    margin-top: 20px;
  }

  .header-pills {
    justify-content: center;
  }

  .page-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }
}