body {
  color: #40514E;
  margin: 0;
  text-align: center;
  font-family: 'Merriweather', serif;
}

h1 {
  color: #66BFBF;
  font-size: 5.625rem;
  margin: 50px auto 0 auto;
  font-family: 'Sacramento', cursive;
}

h2 {
  color: #66BFBF;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: normal;
  padding-bottom: 10px;
}

h3 {
  color: #11999E;
  font-family: 'Montserrat', sans-serif;
}

p {
  line-height: 2;
}

hr {
  border: dotted #EAF6F6 6px;
  border-bottom: none;
  width: 4%;
  margin: 100px auto;
}

a {
  color: #11999E;
  font-family: 'Montserrat', sans-serif;
  margin: 10px 20px;
  text-decoration: none;
}

a:hover {
  color: #EAF6F6;
}

.top-container {
  background-color: #E4F9F5;
  position: relative;
  padding-top: 100px;
}

.middle-container {
  margin: 100px 0;
}

.bottom-container {
  background-color: #66BFBF;
  padding: 30px 0 30px;
}

.skill-row img {
  width: 30%;
  flex-shrink: 0;
  border-radius: 12px;
}

.skill-row div {
  width: 70%;
}

.skill-row {
  width: 70%;
  margin: 100px auto;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.skill-row p {
  flex: 1;
}

.intro {
  width: 30%;
  margin: auto;
}

.pro {
  text-decoration: underline;
}

.contact-message {
  width: 40%;
  margin: 40px auto 60px;
}

.top-cloud {
  position: absolute;
  right: 250px;
  top: 40px;
}

.bottom-cloud {
  position: absolute;
  left: 230px;
  bottom: 300px;
}

.profile-image {
  width: 20%;
  height: 20%;
}

.java-img {
  width: 30%;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.servicenow-img {
  width: 30%;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn {
  background: #11cdd4;
  background-image: -webkit-linear-gradient(top, #11cdd4, #11999e);
  background-image: -moz-linear-gradient(top, #11cdd4, #11999e);
  background-image: -ms-linear-gradient(top, #11cdd4, #11999e);
  background-image: -o-linear-gradient(top, #11cdd4, #11999e);
  background-image: linear-gradient(to bottom, #11cdd4, #11999e);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
}

.servicenow-skills {
  width: 90%;
  max-width: 1000px;
  margin: 100px auto;
  text-align: center;
}

.servicenow-skills h2 {
  text-align: center;
  margin-bottom: 50px;
}

.servicenow-skills .skill-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: nowrap;
  text-align: left;
}

.skill-icon {
  width: 140px;
  height: 140px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
}

.skill-description {
  flex: 1;
  max-width: 500px;
  /*display: flex;
  flex-direction: column; */
  justify-content: flex-start; /* aligns text to top */
  margin-top: 0; /* remove any potential default top margin */
}

.skill-description h3 {
  margin: 0 0 8px;
}

.skill-description p {
  margin: 0;
  line-height: 1.6;
}

/* Responsive layout for small screens */
@media (max-width: 768px) {
  .servicenow-skills .skill-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .skill-description {
    max-width: 90%;
    text-align: center;
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .skill-description {
    max-width: 90%;
  }

  .skill-row {
    flex-direction: column;
    text-align: center;
  }

  .java-img {
    width: 50%;
    margin-bottom: 20px;
  }
}

