/* GLOBAL */
body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #f4f6f8, #ffffff);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* FADE-IN ON LOAD */
header {
  animation: slideDown 0.8s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HEADER */
header {
  background: #0a2540;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.role {
  font-size: 1.2em;
  margin: 8px 0;
  letter-spacing: 0.5px;
}

.contact a {
  color: #9fd3ff;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.contact a:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}
/* Header must be relative */
header {
  position: relative;
}

/* Visitor counter inside header */
.visitor-counter {
  position: absolute;
  top: 16px;
  right: 16px;

  display: flex;
  align-items: center;
  gap: 6px;

  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 0.85em;
  font-weight: 500;
}

.visitor-counter i {
  color: #ffcc00;
}



/* SECTION BASE */
section {
  background: white;
  max-width: 900px;
  margin: 35px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* FLOAT ON HOVER */
section:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* SCROLL ANIMATION */
.hidden {
  opacity: 0;
  transform: translateY(40px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* HEADINGS */
h2 {
  color: #0a2540;
  position: relative;
  margin-bottom: 20px;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffcc00, #ff8c00);
  transition: width 0.6s ease;
}

section.show h2::after {
  width: 100%;
}

/* LISTS */
ul {
  padding-left: 20px;
}

/* COMPANY TEXT */
.company {
  font-style: italic;
  color: #666;
}

/* SKILLS – COOL PILL EFFECT */
.skills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
}

.skills li {
  background: linear-gradient(135deg, #0a2540, #123d6b);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9em;
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skills li:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(10,37,64,0.4);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 25px;
  background: #eaeaea;
  margin-top: 50px;
}

/* MOBILE */
@media (max-width: 768px) {
  section {
    margin: 20px 14px;
    padding: 22px;
  }

  .skills {
    justify-content: center;
  }
}

