/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
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;
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/

.navbar {
  background-color: #000000;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
#btn-back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 98;
  padding: 5px;
  background-color: rgba(93, 93, 93, 0.8);
}

#btn-back-to-top i {
  font-size: 18px;
  color: rgb(255, 255, 255);
  line-height: 0;
}

#btn-back-to-top:hover {
  background: #2eafec;
  color: rgb(255, 255, 255);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: #274c70;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

#hero .hero-container.card {
  color: #272829;
  max-width: 600px;
  background-color: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;
  /* Add this property to control card height */
  height: auto;
  /* Adjust the height as needed */
  overflow: hidden;
  /* Hide any overflowing content */
}

#hero h5.card-title {
  margin-top: 0;
  font-size: 36px;
  font-weight: bold;
  line-height: 42px;
  color: #272829;
}

#hero .card-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #a0a0a0;
  margin-bottom: 20px;
}

#hero .card-text {
  font-size: 18px;
  color: #3b3b3b;
  line-height: 28px;
  margin-bottom: 20px;
  /* Add this property to enable scrolling for overflowing text */
  overflow-y: auto;
  /* Add a maximum height for the card-text to enable scrolling if needed */
  max-height: 200px;
  /* Adjust as needed */
}

#hero .skill-list ul {
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 0;
  text-align: center;
}

#hero .skill-list li {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 6px 12px;
  background-color: #f5f5f5;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

#hero .card-body .list-group-item.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  background-color: #E5F0FF;
  border: none;
  border-radius: 10px;
  transition: background-color 0.2s ease-in-out;
}

#hero .card-body .list-group-item.contact-item h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  line-height: 2;
}

#hero .card-body .list-group-item.contact-item .contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero .card-body .list-group-item.contact-item .contact-icons a {
  font-size: 30px;
  margin: 0 10px;
  transition: color 0.2s ease-in-out;
}

/*--------------------------------------------------------------
# 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 section image css */
.imageAboutPage {
  width: 100%;
}

/* services section css */
.servicesText.card {
  cursor: pointer;
}

.servicesIcon {
  font-size: 36px;
  width: 100%;
  text-align: center;
}

.card-title {
  text-align: center;
}

.card:hover .servicesIcon {
  color: #008000;
}

.servicesText:hover {
  border: 1px solid #008000;
}

/* display background color black on navbar scroll */
.navbarScroll.navbarDark {
  background-color: black;
}

/* social media icons styling */
.social-icons {
  font-size: 36px;
  cursor: pointer;
}

.fa-linkedin:hover {
  color: #00578d;
}

.fa-envelope:hover {
  color: #c90000;
}

.fab {
  color: #000000;
}

/* spacing on all sections */
#about,
#services,
#portfolio,
#contact {
  margin-top: 4rem;
  padding-top: 4rem;
}

#contact {
  padding-bottom: 4rem;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background-color: #808080;
  text-align: center;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
}

#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;
  }
}