/* Global Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #FAFAFA;
}

a {
  text-decoration: none;
  color: #4A90E2;
  transition: color 0.3s;
}

a:hover {
  color: #357ABD;
}

/* Header */
header {
  background-color: #4A90E2;
  color: white;
  text-align: center;
  padding: 45px 20px 30px 20px;
}

#positioning {
  background: transparent;
  box-shadow: none;
  padding: 10px 20px;
  margin-bottom: 20px;
  text-align: center;
}

#positioning p {
  font-size: 1.25rem !important;
  color: #444 !important;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 0;
  opacity: 0.9;
}

header img.hero-image {
  /* Added specificity */
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}


/* Navigation */
nav {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  margin: 0 15px;
  font-weight: 600;
  color: #555;
  display: inline-block;
  /* Ensure margins work */
}

nav a:hover,
nav a.active {
  color: #4A90E2;
}

/* Main Container */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Sections */
section {
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 80px;
  /* Offset for sticky nav */
}

section h2 {
  color: #4A90E2;
  margin-top: 0;
  font-size: 1.8rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

section h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  margin-top: 25px;
  color: #444;
}

section p {
  margin-bottom: 15px;
  color: #666;
}

section ul,
section ol {
  padding-left: 25px;
  color: #666;
}

section li {
  margin-bottom: 10px;
}


/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 600px) {
  header {
    padding: 40px 20px;
  }

  header h1 {
    font-size: 2rem;
  }

  section {
    padding: 25px;
  }

  nav {
    overflow-x: auto;
    white-space: nowrap;
    padding: 15px 20px;
    text-align: left;
  }
}

.hero-image {
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;

}

.app-preview {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

/* Ensure all images within sections are responsive */
section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  /* Optional: adds a nice touch to content images */
}

/* Legacy helper classes from old site that might still be useful, adapted for new theme */
.cta-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4A90E2;
  /* Button Blue */
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: #357ABD;
  text-decoration: none;
}

/* Skills Cloud */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.skill-tag {
  background-color: #eef4fb;
  color: #4A90E2;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}

.skill-tag:hover {
  background-color: #4A90E2;
  color: white;
  transform: translateY(-2px);
}

/* Certification Cards */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cert-card {
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s;
}

.cert-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

/* Featured Project */
.featured-project {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #e1ecf7;
  border-radius: 16px;
  padding: 30px;
  margin-top: 20px;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.featured-badges span {
  background: #4A90E2;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-left: 5px;
}