/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base styles */
body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #333;
}

/* Header */
header {
  background: #0078d7;
  color: white;
  padding: 1em 0 0.5em;
}

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

.logo {
  height: 200px;
  margin-top: 20px;
  margin-bottom: -70px; /* "Hang" below header */
  width: 220px;
  border: 5px solid #0078d7;
}

/* Header menu */
#nav-menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

#nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
}

#nav-menu a.active {
  text-decoration: underline;
}

/* Mobile menu toggle button */
.menu-toggle {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Layout: Sidebar on left */
.main-wrapper {
  display: flex;
  flex-direction: row-reverse; /* sidebar on the left */
  justify-content: space-between;
  align-items: flex-start;
  padding: 2em;
  gap: 2em;
}

/* Sidebar nav (left) */
.sidebar-nav {
  flex: 1;
  background: #f4f7fa;
  border-right: 2px solid #ccc;
  padding: 1.5em;
  min-width: 200px;
  margin-top:20px;
}

.sidebar-nav h3 {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #0078d7;
}

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

.sidebar-nav li {
  margin-bottom: 10px;
}

.sidebar-nav a {
  color: #004e92;
  text-decoration: none;
  font-weight: bold;
}

.sidebar-nav a:hover {
  text-decoration: underline;
}

/* Main content area (right) */
.content {
  flex: 3;
}

/* Hero Section */
.hero {
  background: #fafafa;
  padding: 2em;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.highlight {
  color: #4CAF50;
}

.tagline-hero {
  font-size: 1.3em;
  color: #00cfff;
  font-style: italic;
  margin-bottom: 1em;
}

.hero p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
}

.btn {
  background: #4CAF50;
  color: white;
  padding: 0.8em 1.5em;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #3c9443;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1em;
}

footer nav a {
  color: #00cfff;
  text-decoration: none;
  margin: 0 5px;
}

footer nav a:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
  .main-wrapper {
    flex-direction: column;
  }

  .sidebar-nav {
    border-right: none;
    border-top: 2px solid #ccc;
    margin-top: 2em;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  #nav-menu {
    display: none;
    width: 100%;
    background: #004e92;
    margin-top: 10px;
  }

  #nav-menu.active {
    display: block;
  }

  #nav-menu ul {
    flex-direction: column;
    padding: 10px 20px;
    gap: 10px;
  }

  #nav-menu a {
    padding: 8px 0;
  }
}


.projects-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 1rem 0;
}

.project-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #f9f9f9;
  overflow: hidden;
}

.project-image {
  width: 300px;
  height: 200px;
  object-fit: cover;
}

.project-details {
  padding: 10px 15px;
}

.project-details h3 {
  margin: 0 0 0.5em;
}

.label {
  font-weight: bold;
}


