/* Reset and base styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #1e3a64 0%, #2c4d80 100%);
  color: #333;
  line-height: 1.7;
}

/* Header */
header {
  background: transparent;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
  letter-spacing: 1px;
  color: #f8fbff;
}

header p {
  margin: 0.5rem 0 1.5rem;
  font-size: 1.1rem;
  color: #b3d8f2;
}

nav a {
  color: #f8fbff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #53c0ec;
}

/* Main content area */
main {
  max-width: 900px;
  margin: 2rem auto 4rem auto;
  background: #fdfdfd;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

h2 {
  color: #1e3a64;
  margin-bottom: 0.5rem;
}

section {
  margin-bottom: 2rem;
}

.hero {
  text-align: center;
  margin: 3rem 0;
}

.hero .button,
.button {
  display: inline-block;
  padding: 12px 30px;
  background: #53c0ec;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero .button:hover,
.button:hover {
  background: #39a3d2;
  transform: translateY(-2px);
}

.open-to-work {
  margin-top: 1rem;
  font-size: 1rem;
  color: #1e3a64;
  font-style: italic;
}

/* General images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero section image specifically */
.hero-image {
  display: block;
  width: 300px; /* 50% bigger than before */
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Profile photo specifically */
.profile-photo {
  width: 250px;
  border: 3px solid #53c0ec;
  border-radius: 0; /* Square */
  margin: 1rem auto;
}

/* Image row for project sections */
.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.image-row figure {
  flex: 1 1 45%;
  max-width: 400px;
  margin: 0;
  text-align: center;
}

.image-row img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 250px;
  object-fit: contain;
  background: #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-row figcaption {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5rem;
}

/* Experience section banner image */
.experience-banner {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #f8fbff;
}

a {
  color: #1e3a64;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}



