/* ================================
   RESET & BASE
=================================== */
html, body {
  height: 100%;
}

body {
  min-height: 100vh;      /* body at least viewport height */
  display: flex;          /* stack children vertically */
  flex-direction: column;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Verdana", "Trebuchet MS", "Arial", sans-serif;
  background-color: #f3f3f3;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: "Verdana", "Trebuchet MS", "Arial", sans-serif;
  font-weight: 700;
  color: #2E2E2E;
}

p, a, li, span, nav {
  font-family: "Verdana", "Trebuchet MS", "Arial", sans-serif;
  font-weight: 400;
  color: #595959;
}

/* ================================
   HEADER
=================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #f3f3f3;
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

header h1 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

header .subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
}

/* Navigation */
.header-nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.header-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: #0077cc;
}
/* ===== Desktop pipes between links ===== */
.header-nav ul li {
  position: relative;
  margin-right: 0px;
}

.header-nav ul li:not(:last-child)::after {
  content: "|";
  position: relative;
  margin: 0 4px;     /* adjust spacing here */
  color: #333;
  font-weight: 400;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}
/* ================================
   HERO SECTION
=================================== */
.hero {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  background-color: #f3f3f3;
  flex: 1 0 auto;   /* let hero grow to fill remaining space */
}

.hero-image img {
  width: 350px;
  height: 350px;
  border: 10px solid black;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 720px;
}

.hero-text h2 {
  margin: 0 0 10px 0;
  font-size: 72px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 600;
  color: #2E2E2E;
}

.hero-text p {
  margin: 0 0 30px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #595959;
  text-align: left;
  max-width: 600px;
}

/* Buttons Row */
.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  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: 0px;
}

section p {
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

/* ================================
   FOOTER SECTION — FLEXBOX VERSION (Perfect Alignment)
=================================== */

/* Divider line */
.footer-separator {
  width: 95%;
  max-width: 1500px;
  margin: 10px auto 0;
}
.footer-separator hr {
  border: none;
  border-top: 1px solid #000;
  width: 100%;
  margin: 0;
}

/* Footer container */
footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 95%;
  max-width: 1500px;
  margin: 0px auto 0;
  padding: 10px 0 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
  /*font-size: 0.85rem; /* ✅ Adjust footer text size here */
}

/* Each column */
.footer-col strong {
  font-size: 0.85rem;   /* Phone / Email labels */
  font-weight: 700;
}
.footer-col span {
  line-height: 1.3;      /* slightly tighter stack for phone/email */
  margin-top: 0;         /* remove any inherited spacing */
  font-size: .85rem;
}
.follow-text {
  margin-top: 6px;       /* was 3-4px; balanced against tightened text columns */
  line-height: 1.3;
}

/* Column alignments */
.footer-col:first-child {
  text-align: left;
  align-items: flex-start;
}

.footer-col:nth-child(2) {
  text-align: left;           /* ← changed from center */
  align-items: flex-start;    /* ← changed from center */
}

.footer-col:nth-child(3) {
  text-align: left;
  align-items: flex-start;
}

.footer-col:last-child {
  text-align: left;
  align-items: flex-start;
}

/* Stack label above text */
.footer-col strong {
  display: block;
  margin-bottom: 1px;    /* was ~3-6px; tighter now */
  line-height: 1.2;      /* keeps label compact */
}

/* LinkedIn icon */
.linkedin svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.linkedin:hover svg {
  transform: translateY(-4px) scale(1.15);
  opacity: 0.95;
  fill: #0A66C2;
  filter: drop-shadow(0 2px 4px rgba(10, 102, 194, 0.3));

}

/* Right column fine-tuning */
.footer-right {
  line-height: 1.1;
}

.footer-credit {
  margin-top: 8px;
  line-height: 1.3;
  font-size: .85rem;
}
/* LinkedIn follow label */
.follow-text {
  display: block;
  margin-top: 4px;
  font-size: 0.85em;
  color: #595959;
  text-align: center;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {

  /* ===== MOBILE HEADER ===== */
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 0;
    position: relative;
  }

  /* Name + subtitle centered */
  .header-left {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

  .subtitle {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Hamburger in top-right */
  .hamburger {
    display: flex;
    position: absolute;
    top: 10px;
    right: 16px;
  }

  /* Dropdown below header */
  .header-nav {
    display: none;
    width: 100%;
    margin-top: 12px;
    text-align: center;
  }

  .header-nav.open {
    display: block;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 10px;
  }
  /* Remove pipes on mobile */
.header-nav ul li:not(:last-child)::after {
  content: "" !important;
  margin: 0 !important;
}

  /* ===== MOBILE HERO ===== */
  .hero {
    display: block;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto;
  }

  .hero-text h2 {
    font-size: 52px;
    margin: 10px 0;
  }

  .hero-text h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .hero-text p {
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  max-width: 92%;
  margin: 0 auto 22px auto;
  word-break: break-word;
  }
  
 .hero-text br {
  display: none;
} 

  /* ===== BUTTON GRID ===== */
  .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    justify-items: center;
    width: 90%;
    margin: 0 auto 25px auto;
  }

  .btn {
    width: 120px;
    height: 120px;
    font-size: 0.9rem;
  }

  /* ===== MOBILE FOOTER ===== */
  footer {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    margin-top: 20px;
  }

  .footer-col {
    text-align: center !important;
    width: 100%;
  }
}