﻿:root {
  --primary-color: #003366;
  --accent-color: #ffc107;
  --text-color: #333;
  --light-bg: #f5f7fa;
  --card-bg: #fff;
  --search-bg: #038860;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-color);
  margin: 0;
  padding-top: 76px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  z-index: 99998;
}
.navbar .navbar-brand {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.navbar .navbar-brand:hover {
  color: var(--accent-color);
}
.navbar .menu-toggle {
  position: absolute;
  left: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.navbar .menu-toggle:hover {
  transform: scale(1.1);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -270px;
  width: 270px;
  height: 100%;
  background: #fff;
  box-shadow: 3px 0 12px rgba(0,0,0,0.15);
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 99999;
}
.sidebar.active { left: 0; }
.sidebar-header {
  background: var(--primary-color);
  color: #fff;
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-header h5 { margin: 0; font-size: 1.2rem; }
.sidebar .nav { list-style: none; padding: 0.5rem 0; margin: 0; }
.sidebar .nav li { margin: 0.25rem 0; }
.sidebar .nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-size: 1rem;
  color: var(--text-color);
  transition: all 0.3s ease;
  border-radius: 6px;
}
.sidebar .nav a i {
  width: 20px;
  text-align: center;
  color: var(--primary-color);
  transition: color 0.3s ease;
}
.sidebar .nav a:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}
.sidebar .nav a:hover i { color: var(--accent-color); }

/* Collapse menus */
.collapse-menu > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: auto;
  transition: transform 0.3s ease;
}
.collapse-content { display: none; padding-left: 2rem; }
.collapse-content a { padding: 0.5rem 1rem; font-size: 0.95rem; }
.collapse-content.show { display: block; }
.collapse-menu.open > a::after { transform: rotate(180deg); }

/* Hero */
.hero {
  background: url("https://picsum.photos/1600/700?tech") center/cover no-repeat;
  position: relative;
  color: #fff;
  padding: 6rem 1rem;
  text-align: center;
  margin-top: -76px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}
.hero .hero-container { position: relative; z-index: 1; }
.hero h1 { font-size: 3rem; font-weight: bold; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }
.hero .btn {
  background: var(--accent-color);
  color: #000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.hero .btn:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Layout */
.main-content {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem auto;
  padding: 0 1rem;
}
.left-column { flex: 1 1 75%; min-width: 300px; padding: 0 15px; }
.right-column { flex: 1 1 20%; min-width: 250px; padding: 0 15px; }

/* Clickable Cards */
.ia-items {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.ia-item {
  flex: 1 1 300px;
  margin: 10px;
  display: block;
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.ia-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  color: var(--primary-color);
}
.ia-item-event-img {
  background-size: cover;
  background-position: center;
  height: 160px;
}
.ia-item-event-desc { padding: 20px; }
.ia-item-event-desc h4 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.ia-item-event-desc p { margin: 0; font-size: 0.95rem; }

/* Right column */



/* Footer */
footer {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}
footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:hover { color: #e0a800; text-decoration: underline; }


/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .main-content { flex-direction: column; }
  .left-column, .right-column { flex: 1 1 100%; padding: 0; }
  .ia-item { flex: 1 1 100%; }
  .right-column { margin-top: 2rem; }
  .radio-group { flex-direction: column; gap: 0.5rem; }
}
