body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

a {
  color: #149ddd;
  text-decoration: none;
}

a:hover {
  color: #37b3ed;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #149ddd;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #2eafec;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #040b14;
  overflow-y: auto;
}

/* #header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid #2c2f3f;
} */

/* Add these new styles to your CSS file */
.terminal-container {
  background: #040b14;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  margin: 15px;
  overflow: hidden;
}

.terminal-header {
  background: #2d2d2d;
  padding: 10px;
  display: flex;
  align-items: center;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.close { background: #ff5f56; }
.minimize { background: #ffbd2e; }
.maximize { background: #27c93f; }

.terminal-title {
  color: #999;
  margin-left: 20px;
  font-family: monospace;
  font-size: 14px;
}

.terminal-content {
  padding: 20px;
  position: relative;  /* Add this */
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

.prompt { color: #ff79c6; }
.directory { color: #8be9fd; margin: 0 8px; }
.dollar { color: #f8f8f2; }
.command { color: #50fa7b; margin-left: 8px; }

/* Modify your existing profile styles */
.profile img {
  margin: 15px auto;
  display: block;
  width: 80px;
  height: 90px;
  /* object-fit: cover;  */
  /* border: 4px solid #50fa7b; */
  transition: transform 0.3s ease;
}

.profile img:hover {
  transform: scale(1.1);
}

.profile h1 {
  font-family: monospace;
  text-align: center;
}

.typing-text {
  border-right: 2px solid #50fa7b;
  animation: cursor-blink 1s infinite;
  padding-right: 5px;
}

.social-links {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  animation-delay: 1s;
}

.social-links a {
  color: #6272a4;
  transition: color 0.3s ease;
  margin: 0 10px;
}

.social-links a:hover {
  color: #50fa7b;
}

/* Animations */
@keyframes cursor-blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: #50fa7b; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}


#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #149ddd;
  color: #fff;
  text-decoration: none;
}

#main {
  margin-left: 300px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main {
    margin-left: 0;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding: 30px 0 0 0;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover>a i {
  color: #149ddd;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #149ddd;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* General Styles for Hero Section */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0f0;
  font-family: "Courier New", Courier, monospace;
  background: #000;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 255, 0, 0.1) 0,
    rgba(0, 0, 0, 0.2) 2px
  );
  z-index: 0;
  opacity: 0.8;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 20px;
  max-width: 800px; /* Added to control width */
}

.hero-title {
  margin-bottom: 30px;
  color: #0f0;
  font-size: 2.5rem;
  line-height: 1.3;
}

.terminal-text {
  display: inline-flex; /* Changed to inline-flex */
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  color: #0f0;
  font-size: 1.2rem;
  gap: 8px; /* Added for consistent spacing */
}

.terminal-text .prefix {
  font-weight: bold;
  color: #0f0;
}

.terminal-text span {
  display: inline-block; /* Added to keep spans inline */
}

/* Modified typing animation */
.typed {
  position: relative; /* Added for cursor positioning */
  display: inline-block;
  margin-left: 3px; /* Added small gap */
  border-right: 2px solid transparent;
}

.typed::after {
  content: '|';
  position: absolute;
  right: -4px;
  top: 0;
  color: #0f0;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .terminal-text {
    font-size: 1rem;
    padding: 10px 15px;
  }
}

/* Enhanced H1 Styling */
.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
  color: #0f0; /* Terminal-inspired blue */
  /* text-shadow: 0 0 10px rgba(141, 255, 88, 0.8), 0 0 20px rgba(255, 255, 255, 0.6); */
  animation: fadeInText 1.5s ease-out both;
}

/* Line-by-Line Animation */
.hero-title .line {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: lineReveal 1s ease forwards;
}

.hero-title .line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) {
  animation-delay: 0.4s;
}

/* Animations */
@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #149ddd;
  line-height: 0;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.skills {
  display: flexbox;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; /* Add this line to vertically center the boxes */
}

.skill {
  flex: 0 0 calc(33.33% - 20px); /* Change the flex-basis to take up 33.33% of the container minus 20px for the margins */
  margin: 10px; /* Change the margin to be equal on all sides */
  padding: 20px;
  border: 1px solid #ddd;
  color: #1b1c1d;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  display: flex; /* Add this line to vertically center the content */
  flex-direction: column; /* Add this line to stack the content vertically */
  align-items: center; /* Add this line to horizontally center the content */
}

.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px #ececec;
  /* background-color: #f2f2f2; */
  /* background-color: #00188393; */
  background-color: #00FF00;
}

.skill h3 {
  margin-top: 0;
  font-size: 24px;
  align-items: center;
  text-align: center;
}

.skill p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.5;
  align-items: center;
  text-align: center;
}



/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #050d18;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #1f5297;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #050d18;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #e4edf9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #1f5297;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #149ddd;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(20, 157, 221, 0.75);
  transition: 0.3s;
  width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: rgba(20, 157, 221, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a+a {
  border-left: 1px solid #37b3ed;
}

.portfolio .portfolio-wrap:hover::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  content: attr(data-text);
  transition: all 0.4s ease-in-out;
  z-index: 1;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: #ffffff; 
  background-color: #20A2DF; 
  padding: 20px;
  border-radius: 10px;
  width: 80%; 
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: 0;
}

/* --------------------------------------------------------------
# Portfolio Details
-------------------------------------------------------------- */
.portfolio-details {
  padding-top: 40px;
  padding-right: 100px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #149ddd;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #149ddd;
}


.portfolio-details .portfolio-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portfolio-details .portfolio-info h3,
.portfolio-details .portfolio-info p,
.portfolio-details .portfolio-description h2,
.portfolio-details .portfolio-description p {
  font-weight: bold;
}

.portfolio-details .portfolio-info h3 {
  font-size: 35px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info p {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  text-align: center;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
  text-align: center;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  width: 100%;
  margin: 0 auto;
}

.portfolio-item {
    border: 2px solid #3498db; /* Border color for each item box */
    border-radius: 10px; /* Curved edges */
    padding: 10px; /* Add some padding inside the border */
    margin-bottom: 10px;
    display: inline-block;

}

.portfolio-description {
  padding-top: 10px; /* Add some padding above the description */
}



/* Articles */

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 5px;
}

.accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  background-color: #f9f9f9;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-title h3 {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.accordion-item .accordion-title h3 {
  font-size: 17px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 500;
}

.accordion-content {
  padding: 15px;
  display: none;
  background-color: #fff;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-title i {
  transform: rotate(180deg);
}

.accordion-title i {
  transition: all 0.3s ease;
  font-size: 14px;
  color: #888;
}

a {
  color: #2D2B55;
  text-decoration: none;
}

a:hover {
  color:rgba(20, 157, 221, 0.75);
  text-decoration: wavy;
}

/* Add some additional hover styles for better interaction */

.accordion-item:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.accordion-item:hover .accordion-title {
  background-color: #f2f2f2;
}

.accordion-item:hover .accordion-title i {
  color: #555;
}




/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/

/* .services .icon-box {
  margin-bottom: 20px;
}

.services .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #149ddd;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid #149ddd;
}

.services .icon i {
  color: #fff;
  font-size: 24px;
  line-height: 0;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #149ddd;
}

.services .title {
  margin-left: 80px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #343a40;
}

.services .title a:hover {
  color: #149ddd;
}

.services .description {
  margin-left: 80px;
  line-height: 24px;
  font-size: 14px;
} */

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #c3e8fa;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: #fff;
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #149ddd;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 130px;
}

.contact .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .info i {
  font-size: 20px;
  color: #149ddd;
  float: left;
  width: 44px;
  height: 44px;
  background: #dff3fc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #050d18;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #173b6c;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #149ddd;
  color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #149ddd;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .php-email-form label {
  padding-bottom: 8px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #149ddd;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #37b3ed;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: #f9f9f9;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #040b14;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}






























/* ------------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------------ */

.world-map {
  background: url("/images/bg-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0.3;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -100;
  opacity: 0.2;
}

.video-background video {
  height: 100%;
}

a {
  color: orange;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

progress {
  background: #67b6b9;
  width: 100%;
}

progress::-webkit-progress-value {
  background: #67b6b9;
}

.cards-container {
  width: 1600px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 1s;
  visibility: hidden;
}

.cards-container.loaded {
  opacity: 1;
}

.modal {
  position: fixed;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  width: 30%;
  max-width: 80%;
  background: url("/images/modal-bg.jpg");
  color: #000;
  text-transform: uppercase;
}

.modal .modal-header {
  background: rgba(0, 0, 0, 0.3);
  color: #000;
  border-bottom: none;
  display: grid;
  grid-template-columns: 90% 10%;
  padding: 5px;
  font-weight: bold;
  cursor: move;
}

.modal .modal-header a {
  color: #000;
}

.modal .modal-header .modal-actions {
  text-align: right;
}

.modal .modal-body {
  padding: 15px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.modal .modal-body .classified {
  font-family: Arial Black;
  font-size: 50px;
  color: red;
  position: absolute;
  transform: rotate(-30deg);
  opacity: 0.07;
  display: block;
  top: 100px;
  right: 50px;
}

.send-message {
  display: none;
}

.terminal,
.send-message {
  max-width: calc(100% - 30px);
  width: 450px;
  margin: 0 auto;
  position: fixed;
  left: 15px;
  right: 15px;
  top: 20%;
  z-index: 1000;
}

.terminal .card-header {
  text-transform: uppercase;
}

.terminal .card-body {
  display: block !important;
  min-height: 200px;
  padding: 15px;
  text-transform: initial !important;
}

.send-message {
  text-transform: uppercase;
}

.send-message .card-body {
  display: block !important;
  padding: 15px;
}

label {
  color: #fff;
  margin-bottom: 5px;
  display: block;
}

input,
textarea,
button {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  border: none;
  font-family: "Exo 2";
}

button:disabled {
  cursor: not-allowed;
}

.message {
  padding: 10px;
  text-align: center;
  color: #fff;
}

.message-success {
  background: darkgreen;
}

.message-error {
  background: darkred;
}

.cards-container .card {
  max-width: 100%;
  position: absolute;
  text-transform: uppercase;
}

.card {
  opacity: 0.95;
  border: 2px solid #67b6b9;
  box-shadow: 0 0 30px #000;
}

.card:before {
  content: "";
  background: #0c2b35;
  position: absolute;
  top: -2px;
  width: calc(100% - 50px);
  display: block;
  height: 2px;
  left: 25px;
}

.card:after {
  content: "";
  background: #0c2b35;
  position: absolute;
  bottom: -2px;
  width: calc(100% - 50px);
  display: block;
  height: 2px;
  left: 25px;
}

.card .card-header {
  background: #0c2b35;
  display: grid;
  grid-template-columns: 70% 30%;
  color: #67b6b9;
  padding: 4px 5px;
  font-weight: bold;
  border-bottom: 2px solid #101b22;
}

.cards-container .card-header {
  cursor: move;
}

.card .card-header .card-actions {
  text-align: right;
}

.card .card-header h2 {
  font-size: 14px;
  margin: 0;
}

.card .card-header a {
  color: #67b6b9;
  margin-left: 5px;
  display: inline-block;
}

.card .card-body {
  display: grid;
  background: #0c2b35;
  position: relative;
}

.card img {
  filter: grayscale(60%) brightness(1.2) contrast(1.2);
}

.card table {
  width: 100%;
  border-collapse: collapse;
}

.card table td {
  border: 1px solid #444;
  padding: 5px;
  vertical-align: top;
}

.profile {
  top: 10%;
  left: 10%;
}

.face-capture {
  top: 5%;
  left: 50%;
}

.face-capture-image {
  position: relative;
}

.face-capture-image .face-capture-square {
  position: absolute;
  border: 2px solid orange;
  opacity: 0.5;
  height: 42%;
  width: 25%;
  padding-bottom: 10%;
  z-index: 1;
  top: 12%;
  left: 39%;
}

.known-associates {
  top: 20%;
  left: 20%;
}

.training {
  top: 50%;
  left: 50%;
}

.languages {
  top: 70%;
  left: 80%;
}

.skillset {
  top: 60%;
  left: 50%;
}

.location {
  top: 50%;
  left: 50%;
}

.finland-map-wrap {
  position: relative;
}

.finland-map-wrap .finland-map {
  opacity: 0.5;
  display: block;
}

.finland-map-wrap .beacon-wrap {
  position: absolute;
  top: 32.1%;
  left: 35%;
  width: 100px;
  height: 100px;
  transform: translateY(-50%) translateX(-50%);
}

.finland-map-wrap .beacon-center {
  background: #fff;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  border-radius: 50%;
}

.finland-map-wrap .beacon {
  border: 2px solid #fff;
  border-radius: 50%;
  animation: ping 3s infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.audio-feed {
  left: 2%;
  top: 70%;
}

.audio-feed-container {
  height: 100px;
}

.server-log {
  top: 50%;
  left: 20%;
}

.server-log .card-body {
  overflow: hidden;
  height: 200px;
}

.server-log-container {
  padding: 5px;
}

@keyframes ping {
  0% {
    opacity: 1;
    width: 0;
    height: 0;
  }

  100% {
    opacity: 0;
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 1600px) {
  .cards-container {
    width: 1200px;
  }
}

@media (max-width: 1200px) {
  .cards-container {
    width: 980px;
  }

  .modal {
    width: 40%;
  }
}

@media (max-width: 980px) {
  .cards-container {
    width: 768px;
  }
}

@media (max-width: 768px) {
  .cards-container {
    padding-top: 15px;
    padding-bottom: 15px;
    width: 480px;
  }

  .cards-container .card {
    width: 100% !important;
    position: relative;
    top: auto !important;
    left: auto !important;
    margin-bottom: 15px;
  }

  .modal {
    width: 480px;
  }

  .send-message {
    width: 80%;
  }

  .card .card-header .move-card {
    display: none;
  }
}
