.hero_2 {
	height: 90vh;
	width: 100vw;
}
.hero_2 h1 {
	position: absolute;
	top: 300px;
	left: 50%;
	width: 100%;
	transform: translateX(-50%);
	padding: 0 30px;
	color: #fff;
	font-size: 32px;
	text-align: center;
	text-shadow: 0 4px 8px rgba(0,0,0,.7);
}
@media only screen and (max-width: 600px) {
	.hero_2 h1 {
		font-size: 24px;
	}
}
.gallery {
  position: relative;
  width: 50vw;
  min-width: 500px;
	max-width: 1500px;
  margin: 50px auto 0;
  overflow: hidden;
  padding: 16px 10px;
  background: #2a398f;
  border-radius: 4px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
	box-shadow: inset 0 0 15px 0 rgba(0,0,0,0.5),
									0 0 10px 0 rgba(0,0,0,0.3);
}
@media only screen and (max-width: 600px) {
  .gallery { min-width: auto; width: 90vw; }
}
.gallery h1 {
	position: absolute;
	top: 30px;
	left: 50%;
	width: 100%;
	transform: translateX(-50%);
	padding: 0 30px;
	color: #fff;
	font-size: 24px;
	text-align: center;
	text-shadow: 0 4px 8px rgba(0,0,0,.7);
}
@media only screen and (max-width: 600px) {
	.gallery h1 {
		font-size: 16px;
	}
}
.gallery .slider_track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  scroll-snap-type: x mandatory;
	border-radius: 4px;
}
.gallery .slider_track::-webkit-scrollbar {
  display: none;
}
.gallery .slider_track {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.gallery .slider_track .main_image {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  scroll-snap-align: center;
	object-fit: cover;
	box-shadow: 0 0 5px 0 rgba(0,0,0,1);
}
.gallery .arrows {
  position: absolute;
  top: 16px;
  bottom: 16px;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  z-index: 4;
  border: none;
  padding: 0;
  margin: 0;
  transition: background-color .15s ease, opacity .15s ease;
  opacity: 0;
  pointer-events: none;
}
.gallery .arrows:hover {
	background-color: rgba(255, 255, 255, 0.5);
}
.gallery .arrows.visible {
  opacity: 1;
  pointer-events: auto;
}
.gallery .arrow_left {
	transform: rotate(180deg);
}
.gallery .arrow_left  { left: 10px; border-radius: 0 4px 4px 0; }
.gallery .arrow_right { right: 10px; border-radius: 0 4px 4px 0; }

/* icon */
.gallery .arrow_icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}





.about {
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-shadow: 0 0 10px 0 rgba(0,0,0,1);
}
.about h2 {
	background-color: #2a398f;
	color: #fff;
	display: flex;
	justify-content: center;
	padding: 10px 0;
	font-weight: bold;
	box-shadow: inset 20px 0 20px -20px rgba(0,0,0,1), /* left */
             inset -20px 0 20px -20px rgba(0,0,0,1); /* right */
}
.about .text {
	background-color: #2a398f;
	color: #fff;
	line-height: 1.3;
	box-shadow: inset 20px 0 20px -20px rgba(0,0,0,1), /* left */
             inset -20px 0 20px -20px rgba(0,0,0,1); /* right */
}
.about article {
	padding: 10px 50px;
	max-width: 500px;
	margin: auto;
}

/*------------ projects slider -------------*/
.projects {
  position: relative;
  /*width: 50vw;*/
  /*min-width: 500px;*/
	width: 100vw;
	max-width: 2000px;
	/*max-width: 75vw;*/
  /*margin: 50px auto 0;*/
	/*margin: auto;*/
	padding: 0 50px;
  /*overflow: hidden;*/
	margin: 0 auto;
  /*padding: 16px 10px;*/
  /*background: #2a398f;*/
  /*border-radius: 4px;*/
  display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
  align-items: flex-start;
  box-sizing: border-box;
}
@media only screen and (max-width: 500px) {
	.projects {
		padding: 0 10px;
	}
}
/*
@media only screen and (max-width: 600px) {
  .projects { min-width: auto; width: 90vw; }
}
*/
.project .slider_track {
  display: flex;
	height: 250px;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  /*padding: 6px 0;*/
  scroll-snap-type: x mandatory;
	border-radius: 4px;
}
.project .slider_track::-webkit-scrollbar {
  display: none;
}
.project .slider_track {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.project_2 img {
	object-fit: cover;
  object-position: 80% 40%;
}
.project_3 img {
	object-fit: cover;
	object-position: 50% 20%;
}
.project_4 img {
	object-fit: cover;
	object-position: 80% 16%;
}
.project_5 img {
	object-fit: cover;
	object-position: 0% 43%;
}
.project_6 img {
	object-fit: cover;
	object-position: 0% 52%;
}
.project_7 img {
	object-fit: cover;
	object-position: 0% 63%;
}
.project .slider_track .main_image {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  scroll-snap-align: center;
	object-fit: cover;
}
.project .arrows {
  position: absolute;
	top: 0;
	bottom: 0;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  z-index: 4;
  border: none;
  padding: 0;
  margin: 0;
  transition: background-color .15s ease, opacity .15s ease;
  opacity: 0;
  pointer-events: none;
}
.project .arrows:hover {
	background-color: rgba(255, 255, 255, 0.5);
}
.project .arrows.visible {
  opacity: 1;
  pointer-events: auto;
}
.project .arrow_left {
	transform: rotate(180deg);
}
.project .arrow_left  { left: 0; border-radius: 0 4px 4px 0; }
.project .arrow_right { right: 0; border-radius: 0 4px 4px 0; }

/* icon */
.project .arrow_icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
/**/
/*
.projects {
  max-width: 1500px;
  margin: auto;
  position: relative;
}
*/
.projects .project {
  background-color: #2a398f;
  padding: 16px 10px 10px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
	flex-direction: column;
	gap: 10px;
  opacity: 1;
	/*flex: 1 1 400px;*/
	max-width: 400px;
	width: 400px;
	box-sizing: border-box;
  transition: opacity 0.5s ease;
	box-shadow: inset 0 0 15px 0 rgba(0,0,0,0.5),
									0 0 10px 0 rgba(0,0,0,0.3);
}
.projects .projects_images {
	position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  border-radius: 4px;
	overflow: visible;
	box-shadow: 0 0 5px 0 rgba(0,0,0,1);
}
/*
.projects_images div {
  background-color: #2a398f;
  padding: 16px 10px 10px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
	flex-direction: column;
  flex-wrap: wrap;
	gap: 10px;
  opacity: 1;
	max-width: 400px;
  transition: opacity 0.5s ease;
	box-shadow: inset 0 0 15px 0 rgba(0,0,0,0.5),
									0 0 10px 0 rgba(0,0,0,0.3);
}
*/
@media screen and (max-width: 1000px) {
  .projects_images div:nth-child(n+3) {
    display: none;
    opacity: 0;
  }
}
/*
.projects_images div img {
  height: auto;
  width: 90vw;
  max-width: 400px;
  display: block;
  border-radius: 4px;
	box-shadow: 0 0 5px 0 rgba(0,0,0,1);
}
*/
.projects .project h3 {
	display: flex;
	justify-content: center;
	color: #fff;
	font-weight: bold;
	font-size: 1.25rem;
	text-shadow: 0 0 10px rgba(0,0,0,1);
}
.projects .project p {
	color: #000;
	background-color: #fff;
	padding: 5px;
	border-radius: 4px;
	box-shadow: 0 0 5px 0 rgba(0,0,0,1);
}
.projects .projects_buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
	width: 100vw;
}
.projects .projects_buttons button {
  background-color: #2a398f;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 7px 15px;
  cursor: pointer;
	box-shadow: inset 0 0 10px 0 rgba(0,0,0,0.5),
									0 0 5px 0 rgba(0,0,0,0.3);
	text-shadow: 0 0 10px rgba(0,0,0,1);
	transition: all 0.15s ease-in-out;
}
.projects .projects_buttons button:hover {
	/*background-color: rgba(42, 57, 143, 0.92);*/
	background-color: #5c9dd4;
	transform: scale(1.05);
}







/*---------------- qualifications ----------------*/
.qualifications {
  padding: 15px 50px;
  border-bottom: 1px solid #777;
  overflow-x: auto;
  /*overflow-y: visible;*/
  white-space: nowrap;
  background-color: #2a398f;
  box-shadow:
    inset 0 0 15px 0 rgba(0,0,0,0.5),
    0 0 10px 0 rgba(0,0,0,0.3),
    inset 20px 0 20px -20px rgba(0,0,0,1),
    inset -20px 0 20px -20px rgba(0,0,0,1);
}

.qualifications ul {
  display: flex;
  gap: 25px;
  list-style: none;
  min-width: max-content;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.qualifications li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
}
.qualifications li:hover .tooltip {
  opacity: 1;
}

/* arrow */
.qualifications .tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px; /* arrow positioned just below tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0,0,0,0.85);
}

.qualifications li span {
	text-shadow: 0 0 10px rgba(0,0,0,1);
}
.dynamic_tooltip {
  position: fixed;           /* fixed relative to viewport */
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  max-width: 80%;            /* optional max-width */
  white-space: nowrap;       /* prevent wrapping */
  text-align: center;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}

/* visible state */
.dynamic_tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-30px);
}

/* optional arrow */
.dynamic_tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0,0,0,0.85);
}
.qualifications img {
  width: 30px;
  height: auto;
  display: block;
	filter: drop-shadow(0 0 5px rgba(255,255,255,0.4));
}
/* Optional: Make scrollbar hidden */
.qualifications::-webkit-scrollbar {
  display: none;
}






/*----------- contact form ---------------------*/
.contact_form {
	padding: 0 50px;
}
@media only screen and (max-width: 500px) {
	.contact_form {
		padding: 0 10px;
	}
}
.contact_form form {
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	/*width: 90vw;*/
	max-width: 400px;
	gap: 20px;
	padding: 16px 10px;
	background-color: #2a398f;
	border-radius: 4px;
	box-shadow: inset 0 0 15px 0 rgba(0,0,0,0.5),
									0 0 10px 0 rgba(0,0,0,0.3);
}
.contact_form input,
.contact_form textarea {
	padding: 5px;
	border: none;
	/*box-shadow: 0 1px 5px rgba(0, 0, 0, .5);*/
	border-radius: 4px;
	outline: none;
	box-shadow: 0 0 5px 0 rgba(0,0,0,1);
	transition: all 0.15s ease-in-out;
}
.contact_form textarea {
	height: 200px;
	resize: none;
}
.contact_form input[type="text"]:hover,
.contact_form input[type="text"]:focus,
.contact_form input[type="email"]:hover,
.contact_form input[type="email"]:focus,
.contact_form textarea:hover,
.contact_form textarea:focus {
	transform: scale(1.02);
}
.contact_form input[type="submit"] {
	cursor: pointer;
	font-weight: bold;
	/*background-color: rgba(50, 50, 50, 0.2);*/
	color: #2a398f;
	transition: all 0.15s ease-in-out;
}
.contact_form input[type="submit"]:hover {
  /*background-color: rgba(50, 50, 50, 0.1);*/
	background-color: #27ae60;
	color: #fff;
}


.form_message {
  margin: 20px auto;
  width: 50%;
  max-width: 500px;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}
.form_message.success {
  background-color: #d4edda;
  color: #155724;
  border: 2px solid #155724;
}
.form_message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 2px solid #721c24;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}