:root {
  --bg: #f9f9f9;
  --text: #1a1a1a;
  --muted: #ffffff;
  --link: #005f99;
  --hover: #0077cc;
  --border: #ddd;
  --white: #ffffff;
  --dark-bg: #4a4a4a;
  --dark-bg-secondary: #4a4a4a;
  --light-text: #ffffff;
}

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

body {
  font-family: Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  padding-bottom: 40px;
}

.header-container {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 15px 0;
  text-align: center;
  border-bottom: 1px solid #444;
}

.profile-pic {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-text {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 0;
}

.header-text h1 {
  font-size: 2em;
  font-weight: 600;
  margin: 0;
}

.header-text p {
  font-size: 0.95em;
  color: var(--muted);
  margin: 2px 0;
  line-height: 1.4;
}

nav {
  text-align: center;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--dark-bg-secondary);
  color: var(--light-text);
  margin-bottom: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

nav a {
  margin: 0 25px;
  text-decoration: none;
  color: var(--light-text);
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--hover);
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--hover);
}

section {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto 60px;
  background: var(--white);
  padding: 40px 50px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
}

section h2 {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  font-size: 1.5em;
  color: var(--text);
}

ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--hover);
}

footer {
  text-align: center;
  font-size: 0.9em;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: 30px 10px 10px;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.about-image img {
  width: 240px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

#About {
  border-left: 6px solid #4a4a4a;
  padding-left: 30px;
}

.project {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.project h3 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.project p {
  margin-top: 8px;
  color: #333;
}

.press-section {
  background-color: #f1f1f1;
  padding: 40px 20px;
  text-align: left;
  border-top: 1px solid #ccc;
}

.press-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.press-item {
  margin-bottom: 15px;
}

.press-item a {
  color: #005f99;
  text-decoration: none;
}

.press-item a:hover {
  text-decoration: underline;
}


/* Responsive Tweaks */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .about-text {
    text-align: left;
  }

  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .header-text h1 {
    font-size: 1.5em;
  }

  .profile-pic {
    width: 80px;
    height: 80px;
  }
}
