:root {
  --main-font : Arial;

  --dark-color : #270b75;
  --dark-color2 : #750b0b;
  --dark-color3 : #1f471f;
  --light-color : #4A90E2;
  --light-color2 : #357ABD;
  
  /* Light Blue Navigation Colors */
  --primary-color: #4A90E2;
  --secondary-color: #357ABD;
  --accent-color: #2E7CD6;
}

#grid_content {
  display: grid;
  height: 100vh;
  width: 100%;
  padding-top: 75px;
  grid-template-columns: 150px 1fr;
  grid-template-areas:
    'navbar content';
}

body {
  font-family: var(--main-font);
}

main {
  background-color: white;
  padding: 25px;
  width: 100%;
  height: 100%;
  grid-area: content;
}

main p {
  font-size: 20px;
}

/* Logo styling for about.html and other pages */
.logo-container {
  display: inline-block;
  padding: 3px;
  background: linear-gradient(45deg, #4fb3f7, #2852dd, #022175);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

header img {
  height: 60px;
  border-radius: 50%;
  text-align: center;
  display: block;
  border: 2px solid white;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  overflow-y: auto;
}

.modal-content {
  position: relative;
  background-color: white;
  margin: 50px auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modal-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.modal-close:hover {
  background-color: #f0f0f0;
}

.modal-body {
  display: flex;
  gap: 20px;
}

.modal-info {
  flex: 1;
  padding: 15px;
}

.modal-media {
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-media video,
.modal-media img {
  max-height: 500px;
  width: 100%;
  object-fit: contain;
}

.modal-actions {
  margin-top: 20px;
  text-align: center;
}

.modal-link-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.modal-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Navigation Styles */
.top-nav {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 0 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, var(--dark-color), var(--dark-color2));
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  transition: left 0.3s ease;
  z-index: 999;
}

.sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.sidebar-content {
  padding: 1rem;
  overflow-y: auto;
  height: calc(100vh - 100px);
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-title {
  color: white;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 0.5rem;
}

.sidebar-link {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.sidebar-link.active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .sidebar-close {
    display: block;
  }
}
