
* {
  box-sizing: border-box;
}

/* Title*/

.title {
	text-decoration: none;
	font-size: 20px;
	font-family: sans-serif;
}

.title:hover {
	opacity: 0.7;
	text-decoration: none;
	transition: opacity 0.15s;
}

/* Fixed top navbar */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background-color: rgb(24, 21, 21);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 40px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

/* Dropdown button */
.dropbtn {
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  flex-direction: column;
  background-color: rgb(24, 21, 21);
  color: #cccccc; 
  border: none;
  cursor: pointer;
}


/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
  background-color: darkgray;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* ensures it drops below the button */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(24, 21, 21);
  min-width: 160px;
  max-width: 90vw; /* Never go beyond 90% of the screen */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  font-size: 20px;
  padding: 5px;
  text-align: left;
  border-radius: 4px;
  font-family: sans-serif;
  transition: opacity 0.15s, box-shadow 0.4s;
  font-weight: 500;
  overflow-wrap: break-word; /* ensures long words wrap */
  box-sizing: border-box;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #cccccc;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: rgb(24, 21, 21)
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

/*home page */

#landing, #about, #skills, #career, #contact  {
  background-color: rgb(24, 21, 21);      /* very light gray */
}

#landing {
  padding-top: 20px;  /* or 0 if you want it flush with navbar */
  margin-top: 0;
  line-height: 1.3;
}

#landing h2 {
  font-size: 2rem;
  color: #cccccc;
}

.role {
  font-size: 1.25rem;
  margin-top: 0; /* remove top margin from Cloud Architect */
  color: #cccccc;
}

.nyc-skyline {
  width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
  margin-top: 20px; /* keeps it close to text */
  object-fit: contain;
  filter: grayscale(100%) brightness(80%) sepia(20%) saturate(0);
}

.mission {
  font-size: 1.05rem;
  color: #cccccc;
  text-align: center;
  max-width: 1000px;
  margin: 10px auto 0;
  white-space: normal; /* ensures it wraps only when screen is small */
  line-height: 1.5;
}

.mission strong {
  color: #ffffff;
}


/*<--- about me page --->*/

#about h2 { font-family: sans-serif;}

#about .about-content {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* space between image and text */
}

#about .headshot {
  width: 150px; /* slightly smaller if you want */
  height: auto;
  border-radius: 8px; /* optional */
}

#about .aboutme {
  text-align: justify;       /* desktop can stay justified */
  hyphens: auto;
  -webkit-hyphens: auto;
  line-height: 1.6;
  word-break: break-word;
  margin: 1em auto;
  padding: 0 1em;
}

@media (max-width: 480px) {
  .aboutme {
    text-align: left;        /* remove full-justify on phone */
  }
}

.education {
	text-decoration: none;
	list-style-type: none;
}

.icon-link2 img {
  width: 75px;  /* match svg width */
  height: 75px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: fill 0.3s ease, transform 0.3s ease;
}

.icon-link2:hover img {
  transform: scale(1.25);
  cursor: pointer;
}

/*<--- Skills --->*/

.competencies {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.icon {
  position: relative;
  text-align: center;
  cursor: pointer;
   
}

.icon img {
  width: 150Px;
  height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
  background-color: rgb(24, 21, 21); /* matches your landing page */
  mix-blend-mode: lighten;  /* replaces black with background, keeps white */
}

.icon .label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #ccc;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.icon:hover img {
  transform: scale(1.15);
}

.icon:hover .label {
  opacity: 1;
  color: #fff; /* or your preferred hover color */
}

.badges img{
  height: 100px;
  width: auto;
  transition: 0.3s ease;
}

.badges:hover img {
  transform: scale(1.15); /* or however large you want */
}

.tools-list {
  list-style: none;
  padding: 0;
  margin: -50px 0 0 0;
  max-width: 900px;
}

.tools-list li {
  display: grid;
  grid-template-columns: 200px 1fr; /* left column fixed, right column flexible */
  gap: 10px;
  padding: 6px 0;
  font-family: sans-serif;
  color: #ccc;
  line-height: 1.5;
}

.tools-list .label {
  font-weight: bold;
  color: #fff;
  text-align: right;
}

.tools-list .value {
  color: #ccc;
}


/*<---- Career ---> */

/* Timeline container */
.timeline {
  position: relative;
  margin: 20px 0;
  padding-left: 30px;
  border-left: 2px dashed #ccc; /* Dashed line */
}

/* Individual timeline block */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

/* Circle dot on the timeline */
.timeline-dot {
  position: absolute;
  left: -10px;
  top: 5px;
  width: 14px;
  height: 14px;
  background-color: #0a5466;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #0a5466;
}

#career h4 {
  margin-left: 28px; /* pushes the heading right */
}

/* Career content box */
.timeline-content {
  padding-left: 10px;
}

.timeline-content h3 {
  margin: 0 0 8px 0;
  display: left;
  color: #cccccc;
  font-size: 1.2rem;
}

.timeline-content h4 {
  margin-top: 20px;
  font-size: 1rem;
  color: #cccccc;
}

.timeline-content ul {
  padding-left: 1rem;
  margin-top: 5px;
}

.timeline-content li {
  color: white;
  font-size: 0.95rem;
  line-height: 1.6;
}

.years {
  font-weight: normal;
  color: #aaa;
  font-size: 0.95rem;
  margin-left: 8px;
}



/* <--- Connection ---> */
.icon-container {
  display: flex;
  gap: 16px; /* space between icons */
  align-items: center;
  justify-content: center; /* center the icons horizontally */
  flex-wrap: wrap; /* wrap on smaller screens */
}

.icon-link svg {
  width: 50px;  /* same size */
  height: auto;
  display: block;
  transition: fill 0.3s ease, transform 0.3s ease;
}

.icon-link:hover img {
  transform: scale(1.25);
  cursor: pointer;
}

.icon-link:hover svg {
  transform: scale(1.25);
  cursor: pointer;
}


body {
	padding-top: 70px; /* slightly more than navbar height */
}


.section {
  min-height: 100vh;             /* full-height */
  display: flex;
  flex-direction: column;
  justify-content: center;       /* vertical centering */
  align-items: center;           /* horizontal centering */
  padding: 80px 20px 40px;     /* top padding to clear navbar, plus bottom padding */
  box-sizing: border-box;
}

p, ul, li {
	color: white;
	font-family: sans-serif;
	font-size: 100%;
}

/* 3) Center text inside headings and paragraphs by default */
.section h2,
.section h3,
.section p {
  text-align: center;
  margin-bottom: 1rem;
  color: #cccccc;                /* dark gray text */
}

/* 4) Constrain the maximum width so text doesn't run too long */
.section p,
.section ul,
.about-content {
  max-width: 800px;
}

.about-content .headshot {
    margin-right: 20px;
  }

/* 7) Tidy up the <ul> style within sections */
.section ul {
  list-style-type: none;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.education {
  list-style-type: none;
  padding-left: 0;
  margin-top: 1rem;
}

.education li {
  margin-bottom: 0.5rem;
  color: #cccccc;
}

/* 8) Badges container centering */
.badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 1rem;
}

/* Title on the left */
.title {
  font-size: 1.25rem;                /* slightly larger */
  color: #cccccc;                    /* dark charcoal */
  text-decoration: none;
}

/* Nav menu UL is already display:flex; just tweak coloring */
.nav-menu li {
  margin-left: 1.5rem;
}

.nav-list {
  font-size: 1rem;
  color: #cccccc;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-list:hover,
.nav-list:focus {
  background-color: #e6f0f3;          /* light teal/blue accent */
  color: #0a5466;                     /* darker teal/blue text */
}

/* If you have active/current page highlighting: */
.nav-list.active {
  background-color: #0a5466;
  color: rgb(24, 21, 21);
}

/* Shrink vertical margins inside navbar */
.nav-menu {
  margin: 0;
  padding: 0;
}

/* Body background – neutral very light gray */
body {
  background-color: #f2f2f2;
  color: #333333;
  padding-top: 60px;   /* ensure content clears navbar */
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

/* Link styling site-wide */
a {
  color: #0a5466;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Footer tweak */
.footer {
  background-color: rgb(24, 21, 21);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05);
}

html {
  scroll-behavior: smooth;
}

.visitor-count {
  display: inline-block;
  background-color: #2c2c2c;       /* Soft charcoal gray for subtle contrast */
  color: #e6f0f3;                  /* Light gray-blue for readability */
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  font-family: sans-serif;
  margin: 20px auto 0;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Visitor number */
#VisitorCounter {
  margin-left: 6px;
  color: #ffffff;                  /* Make the number stand out slightly */
  font-weight: 700;
}