* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
  color: #00ff00;
  background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('../images/new/homepage.png') center/cover no-repeat fixed;
  background-attachment: fixed;
  min-height: 100vh;
}

body.homepage {
  background: linear-gradient(135deg, rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../images/new/homepage.png') center/cover no-repeat fixed;
}

header {
  background: transparent;
  border-bottom: 3px solid #00ff00;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,255,0,0.2);
}

header h1 {
  width: min(1200px, 92%);
  margin: 0 auto 16px;
  color: #00ff00;
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

nav {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: #00ff00;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  transition: all 0.3s;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
}

nav a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
  text-decoration: none;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid #00ff00;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,255,0,0.3);
  z-index: 200;
  border-radius: 0 0 8px 8px;
}

.dropdown-content a {
  color: #00ff00;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,255,0,0.1);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: rgba(0,255,0,0.1);
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
  text-decoration: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

/* Homepage Main Content */
.homepage-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-container {
  width: 100%;
  max-width: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.central-circle {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  border: 3px solid #00ff00;
  transition: all 0.3s;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.08), rgba(0, 255, 0, 0.02));
  box-shadow: 0 0 40px rgba(0, 255, 0, 0.3), inset 0 0 30px rgba(0, 255, 0, 0.05);
}

.central-circle:hover {
  background: radial-gradient(circle, rgba(0, 255, 0, 0.15), rgba(0, 255, 0, 0.05));
  box-shadow: 0 0 60px rgba(0, 255, 0, 0.5), inset 0 0 40px rgba(0, 255, 0, 0.1);
  transform: scale(1.02);
}

.circle-content {
  text-align: center;
  z-index: 10;
}

.circle-content h2 {
  font-size: 2rem;
  color: #00ff00;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.circle-content p {
  font-size: 1rem;
  color: #00ff00;
  margin: 0;
  opacity: 0.8;
}

/* Content Pages */
main {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 40px 0;
}

main.research-page,
main.development-page,
main.services-page {
  background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('../images/new/V3.png') center/cover no-repeat fixed;
  background-attachment: fixed;
  padding: 48px 32px;
  border-radius: 12px;
  margin-top: 48px;
  margin-bottom: 48px;
}

main.resources-page,
main.about-page,
main.contact-page {
  background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('../images/new/V2.png') center/cover no-repeat fixed;
  background-attachment: fixed;
  padding: 48px 32px;
  border-radius: 12px;
  margin-top: 48px;
  margin-bottom: 48px;
}

main h1,
main h2 {
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

main p,
main li {
  color: #00ff00;
  line-height: 1.8;
}

main a {
  color: #00ff00;
  text-decoration: none;
  border-bottom: 1px solid #00ff00;
  transition: all 0.3s;
}

main a:hover {
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

main section {
  margin-bottom: 40px;
}

main h2 {
  font-size: 2rem;
  margin-top: 32px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

main h3 {
  font-size: 1.3rem;
  color: #00ff00;
  margin-top: 24px;
  margin-bottom: 12px;
}

main ul,
main ol {
  margin: 16px 0;
  padding-left: 24px;
}

main li {
  margin-bottom: 12px;
}

.project-card {
  background: rgba(0, 255, 0, 0.05);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid #00ff00;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.project-card:hover {
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
  transform: translateX(4px);
}

.project-card h3 {
  margin-top: 0;
}

.project-card p {
  margin: 0;
}

.btn {
  display: inline-block;
  background: rgba(0, 255, 0, 0.1);
  color: #00ff00;
  padding: 12px 24px;
  border: 2px solid #00ff00;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin: 8px;
  transition: all 0.3s;
}

.btn:hover {
  background: rgba(0, 255, 0, 0.2);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

/* Tab Styling */
.services-tabs {
  margin-top: 32px;
}

.tab-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #00ff00;
  color: #00ff00;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Courier New', monospace;
  transition: all 0.3s;
  border-radius: 4px;
}

.tab-btn:hover {
  background: rgba(0, 255, 0, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

.tab-btn.active {
  background: rgba(0, 255, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

footer {
  width: 100%;
  padding: 32px 0;
  font-size: 0.9rem;
  color: #00ff00;
  text-align: center;
  border-top: 1px solid rgba(0, 255, 0, 0.2);
  background: rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.4rem;
  }

  nav {
    gap: 8px;
  }

  nav a {
    padding: 6px 8px;
    font-size: 0.85rem;
  }

  .quadrant-container {
    max-width: 90vw;
    aspect-ratio: auto;
  }

  .quadrant {
    min-height: 150px;
  }

  .quadrant-content h2 {
    font-size: 1.1rem;
  }

  main {
    padding: 20px;
  }

  main h2 {
    font-size: 1.5rem;
  }
}
