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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #d4dce8 100%);
  min-height: 100vh;
}

/* Main Content Container */
.page-content {
  background: white;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
  background: white;
  border-radius: 12px;
  padding: 20px 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-size: 1.5em;
  font-weight: 700;
  background: linear-gradient(135deg, #041E42 0%, #063a7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav-link:hover {
  color: #041E42;
  background: rgba(4, 30, 66, 0.1);
}

/* Home Page - Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 30px;
  border: 4px solid #041E42;
  box-shadow: 0 8px 30px rgba(4, 30, 66, 0.3);
  transition: transform 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
}

.hero-section h1 {
  font-size: 3em;
  background: linear-gradient(135deg, #041E42 0%, #063a7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.contact-links {
  font-size: 1.1em;
  color: #4a5568;
  margin-top: 15px;
}

.contact-links a {
  color: #041E42;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-links a:hover {
  color: #063a7a;
  text-decoration: none;
}

.contact-links img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* Home Page Layout */
.home-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Navigation Menu on Home Page */
.home-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-card {
  background: linear-gradient(135deg, #041E42 0%, #063a7a 100%);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(4, 30, 66, 0.3);
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(4, 30, 66, 0.4);
  text-decoration: none;
  color: white;
}

.nav-card h3 {
  font-size: 1.4em;
  margin: 0 0 10px 0;
  color: white;
  font-weight: 600;
}

.nav-card p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}

/* Bio Section */
.bio-section {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.8;
  color: #2d3748;
}

.bio-section p {
  margin-bottom: 20px;
}

/* Page Titles */
h1.title {
  font-size: 2.5em;
  background: linear-gradient(135deg, #041E42 0%, #063a7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 40px;
  font-weight: 700;
  padding-bottom: 15px;
  border-bottom: 3px solid #e2e8f0;
}

/* Section Headings */
h2 {
  font-size: 1.8em;
  color: #2d3748;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  padding-left: 20px;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 30px;
  background: linear-gradient(135deg, #041E42 0%, #063a7a 100%);
  border-radius: 3px;
}

h3 {
  font-size: 1.4em;
  color: #4a5568;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Lists */
ul {
  list-style: none;
  padding-left: 0;
}

li {
  margin-bottom: 18px;
  line-height: 1.8;
  padding-left: 25px;
  position: relative;
}

li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #041E42;
  font-weight: bold;
}

/* Links */
a {
  color: #041E42;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

a:hover {
  color: #063a7a;
  border-bottom: 2px solid #063a7a;
}

/* CV Links Section */
.cv-links {
  margin-top: 40px;
}

.cv-links ul li {
  font-size: 1.15em;
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(4, 30, 66, 0.05) 0%, rgba(6, 58, 122, 0.05) 100%);
  border-radius: 8px;
  border-left: 4px solid #041E42;
}

.cv-links ul li::before {
  content: '📄';
  left: -5px;
}

.cv-links a {
  font-weight: 600;
  font-size: 1.05em;
}

/* Horizontal Rules */
hr {
  border: none;
  border-top: 2px solid #e2e8f0;
  margin: 50px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 20px 15px;
  }

  .page-content {
    padding: 30px 20px;
  }

  .hero-section {
    padding: 40px 0 30px 0;
  }

  .hero-section h1 {
    font-size: 2.2em;
  }

  .profile-photo {
    width: 140px;
    height: 140px;
  }

  .home-container {
    grid-template-columns: 1fr;
  }

  .home-nav-menu {
    margin-top: 40px;
  }

  h1.title {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }
}