/* Reset and base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f3f3f3;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;  /* left name + right nav */
  align-items: center;
  padding: 20px 40px;
  background-color: #f3f3f3;

}
.header-left {
  display: flex;
  align-items: baseline;  /* aligns text nicely */
  gap: 10px;              /* space between name and subtitle */
    
}
header h1 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

header .subtitle {
  font-size: 0.9rem;
  color: #555;
}

/* Navigation styling */
.header-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.header-nav a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: #0077cc;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-nav ul {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }
}

header p {
  font-size: 0.9rem;
  color: #555;
}

/* Hero section */
.hero {
  display: flex;
  justify-content: center;       /* Centers the whole hero section horizontally */
  align-items: center;           /* Vertically aligns image and text */
  gap: 50px;                     /* Space between image and text */
  padding: 150px 80px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f3f3f3;
}

.hero-image {
  flex-shrink: 0;
}

.hero-image img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero-text {
  flex: 1 1 600px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* left column */
  text-align: left;
}

.hero-text h2,
.hero-text p,
.hero-text .buttons {       /* ✅ fixed broken selector */
  width: 100%;             
  margin-left: 0;
  padding-left: 0;
}

.hero-text h2 {
  margin-bottom: 10px;
  font-size: 80px
}

.hero-text p {
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Buttons row */
.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: flex-start;   /* flush left */
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  border: 1px solid #000;
}

.btn.experience { background-color: #D99A00; }
.btn.skills     { background-color: #EE3E21; }
.btn.education  { background-color: #94D9DD; }
.btn.certifications { background-color: #92D050; }

/* Section styling */
section {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
  margin-top: 20px;
}

section h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

section p {
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

/* Footer */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 20px 15px;
  background-color: #f3f3f3;
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

footer a {
  color: inherit;
  text-decoration: none;
}

/* Mobile/tablet: stack nicely (2x2, etc.) */
@media (max-width: 900px) {
  .hero-text {
    min-width: 0;
    max-width: 600px;
    text-align: center;

  }

}
