/* Reset and base styles */
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
  background-color: #fdfdfd;
  color: #1c2d4a;
  line-height: 1.6;
}

a {
  color: #861f41;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header styles */
header {
  background-color: #1c2d4a;
  color: white;
  padding: 1rem;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav h1 {
  margin: 0;
  font-size: 1.75rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  color: white;
  font-weight: bold;
}

.logo {
  height: 50px; /* Increased slightly for desktop to prevent cutoff */
  width: auto; /* Maintains aspect ratio */
  max-width: 330px; /* Allows more width for the text */
  display: block; /* Ensures proper rendering */
  object-fit: contain; /* Ensures the entire SVG content is visible */
}

/* Hero section */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background-color: #ffffff;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cta {
  display: inline-block;
  background-color: #861f41;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
}

.cta:hover {
  background-color: #a52855;
}

/* Page content */
.page-header {
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.content {
  padding: 0 1rem 3rem;
  max-width: 700px;
  margin: auto;
}

.content h3 {
  margin-top: 2rem;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  float: right;
  margin: 0 0 1rem 2rem;
  box-shadow: 0 0px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
  .profile-photo {
    float: none;
    display: block;
    margin: 0 auto 1.5rem auto;
    width: 150px;
    height: 150px;
  }
}

/* Footer */
footer {
  background-color: #1c2d4a;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 599px) {
  .logo {
    height: 45px; /* Reasonable size on mobile */
    max-width: 260px; /* More width on mobile for the long text */
    object-fit: contain; /* Ensure full content is visible */
  }
  
  nav h1 {
    margin-bottom: 0.5rem; /* Add some space below logo on mobile */
  }
}

@media (min-width: 600px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
    max-width: 900px;
    margin: auto;
  }

  nav ul {
    margin: 0;
  }

  .hero h2 {
    font-size: 2.5rem;
  }
}
